Skip to main content
100%

3D Bar Chart

✓ Published0🌍 Public
Ssenthilrajendran1
Last edited Apr 5, 2023
Created on Apr 4, 2023

This example displays a 3D bar chart using Three.js to visualize mass shooting data from a CSV file. It shows the total fatalities and injured victims for each state as red and green bars that are positioned along a three-dimensional grid. The chart builds its scene using Three.js primitives like `THREE.BoxGeometry` and `THREE.MeshBasicMaterial`, while D3.js handles CSV loading and scaling via `d3.csv`, `d3.scaleBand`, and `d3.scaleLinear`. The scene renders with a perspective camera and an animated `requestAnimationFrame` loop.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes