Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

3D Bar Chart using D3.js

Public visualization

Viewing a saved revision (read-only)

cb8f82d663934db38e4ba9d5704d761d

3D Bar Chart using D3.js

0 stars0🌍 Public
PPriyaEnuganti
Last edited Jul 7, 2022
Created on Jul 6, 2022

This example visualizes retail sales for the first six months of the year as an interactive 3D bar chart, with each retailer’s monthly figures grouped along separate axes. It uses the `d3.x3d` library to render X3D scenes, automatically creating a multi-series bar chart where the data is parsed from a CSV file via `d3.csv` and `parseRow`. The chart is embedded in an HTML page using D3 v5, with `d3.select` and `.datum().call()` to attach the data to the DOM element, and it leverages the `d3-3d` and `x3dom` libraries for the 3D output.

AI-generated description

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

See also React Starter.