Skip to main content
100%

3D Bar Chart using D3.js

✓ Published0🌍 Public
Ggayathrikavya
Last edited Apr 5, 2023
Created on Apr 5, 2023
Forked from HTML Starter

This example visualizes regional company performance with a 3D bar chart, comparing TotalCost, TotalRevenue, and TotalProfit for each region. The visualization uses the `d3-3d` and `d3-x3d` libraries alongside D3.js v5, rendering interactive 3D bars within an X3DOM scene. Data is loaded asynchronously from a CSV file using `d3.csv`, with each row parsed into multi-series values. The chart is created using `d3.x3d.chart.barChartMultiSeries()` and attached to the DOM via `chartHolder.datum(data).call(myChart)`, replacing initially generated random dataset.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes