Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

A4 Bar Chart in D3

Public visualization

Viewing a saved revision (read-only)

a8366ce85e8b4d618b7b2d76b52d8e04

A4 Bar Chart in D3

0 stars0🌍 Public
Nnathanjmuljadi@gmail.com
Last edited Feb 16, 2025
Created on Feb 16, 2025
Forked from A2 Bar Chart

This visualization displays the number of police shootings recorded by racial category, using a bar chart where bar heights correspond to aggregated counts from a CSV dataset. The chart is rendered in SVG via D3.js v7, using `d3.csv` for data loading, `d3.rollup` for aggregation, and `d3.scaleBand` and `d3.scaleLinear` for positioning. CSS hover effects change bars from steelblue to orange, while axis labels are added via `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

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

See also React Starter.