🌍 Public
Viewing a saved revision (read-only)
c62d7500912f4a979c48429c03082ec3
3D Bar Chart with d3.js
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 description