Create a 3D Bar Chart with d3
✓ Published0🌍 Public
This example visualizes the top 10 US states by GDP as an interactive 3D bar chart using d3-x3d and the x3dom WebGL library. The bars, colored with a gradient, represent state GDP values from a CSV dataset. The code uses the d3.x3d.chart.barChartMultiSeries() API to render the 3D scene, while d3.csv loads the data into a React component that slices the results to the top ten states. The visualization runs in a standard HTML page alongside a React starter alternative.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed