chart/volumeSliceChart

Reusable 3D Vertical Volume Slice Chart

Source:
Example
let chartHolder = d3.select("#chartholder");

let myChart = d3.x3d.chart.volumeSliceChart();
   .dimensions({ x: 40, y: 40, z: 30 })
   .imageUrl("assets/scan2.png")
   .numberOfSlices(35)
   .slicesOverX(7)
   .slicesOverY(5);

chartHolder.call(myChart);