Skip to main content
100%

fresh block

✓ Published0🌍 Public
GGoomble
Last edited Mar 25, 2017
Created on Mar 25, 2017

This visualization compares SFPD incidents across San Francisco neighborhoods in 2016 using two synchronized SVG charts: a bar chart sorted by average incidents and a line chart showing daily trends. Hovering over a bar highlights the corresponding line, while clicking filters the line chart to that neighborhood. The code uses nested data aggregation via `d3.nest()`, and transitions with `d3.transition()` to animate highlights. Both charts share the same dataset, sourced from SF Open Data's SFPD Incidents 2016 Daily, with scales set using `d3.scaleLinear()` and `d3.scaleBand()`.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes