Skip to main content
100%

Interactive Bar Chart

✓ Published0🌍 Public
WWenqi Sun
Last edited Dec 15, 2022
Created on Dec 15, 2022
Forked from HTML Starter

This interactive bar chart visualizes the percentage of weapon categories used in crimes, filtered by sex through radio buttons. Users can toggle between male and female data, with bars animating their widths via D3 transitions. The chart employs D3 v7 scales, axes, and SVG rendering, featuring a hover tooltip that displays additional details. Data originates from the Los Angeles Crime Data dataset (2020 to present), loaded asynchronously via d3.json.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes