Skip to main content
100%

Untitled

✓ Published0🌍 Public
Pphamiter253
Last edited Mar 24, 2020
Created on Feb 28, 2020
Forked from HTML Starter

This interactive stacked bar chart visualizes fire and alarm response times across San Francisco neighborhoods from 2012 to 2019. A dropdown menu switches between years, and a checkbox toggles sorting by total average response time or alphabetical order. Built with D3 v5 in a React-free HTML page, it uses `d3.csv`, `d3.stack`, `scaleBand`, `scaleLinear`, and `scaleOrdinal` to render SVG rectangles and total-value labels. Axes transition smoothly via d3 transitions, while the data comes from a CSV file with `Group`, `Neighborhoods`, `Year`, and `Avg` columns.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes