Skip to main content
100%

d3-x3d : 3D Bar Chart Example

✓ Published0🌍 Public
RRohith Reddy
Last edited Apr 7, 2023
Created on Apr 7, 2023

This example shows a 3D bar chart displaying Toyota vehicle data loaded from a CSV file, with each bar representing a car model and its price, mileage, and engine size. The visualization uses the d3-x3d library to render interactive 3D graphics in the browser via X3DOM, while D3 v5 handles data parsing and DOM selection. The code calls `d3.x3d.chart.barChartMultiSeries()` to create the chart component and uses `d3.csv()` to fetch and parse the external dataset from a GitHub gist. The chart is attached to a div element using D3's data join pattern.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes