Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3: NYC Crime Visualization

Public visualization

Viewing a saved revision (read-only)

15a6bd33618e4549a30e189df95d3459

Fork of D3: NYC Crime Visualization

0 stars0🌍 Public
DDing
Last edited Dec 10, 2022
Created on Dec 10, 2022

This interactive visualization explores NYC crime data through a coordinated multi-view dashboard. It combines a geographic heatmap using `d3.geoMercator` and `d3.geoPath` to display precinct-level crime intensity, with a donut chart (via `d3.arc`) breaking down crime types by color. Three bar charts for age, race, and additional demographics update alongside. The SVG-based scene includes a legend, tooltip, and reset button, with all sub-graphs animated over a 24-millisecond duration. The interface supports dynamic filtering by precinct and crime type, using `d3.scaleOrdinal` and linear/band scales for color and axes.

AI-generated description

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

See also React Starter.