3D Bar Chart with d3.js
✓ Published0🌍 Public
This example creates a 3D bar chart using the d3-3d extension in an SVG context, displaying categorical values as extruded cubes. It loads data from a Plotly datasets CSV file, then transforms it using d3.scaleBand for the x-axis, d3.scaleLinear for the y-axis, and d3.scaleOrdinal with a category color scheme. The chart applies rotations via rotateX, rotateY, and rotateZ transforms to orient the 3D scene.
AI-generated descriptionAxes with 3D
MIT Licensed