Skip to main content
100%

Create a 3D Bar Chart with d3

✓ Published0🌍 Public
AAAL FORHAD
Last edited Mar 10, 2022
Created on Mar 9, 2022
Forked from HTML Starter

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes