Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3: NYC Crime Visualization

Public visualization

Viewing a saved revision (read-only)

79c11ec37eb4454993695686d96948da

D3: NYC Crime Visualization

1 star4🌍 Public
Ooliverliuoo
Last edited Dec 11, 2021
Created on Dec 11, 2021
Forked from HTML Starter

This interactive NYC crime visualization presents multiple coordinated views: a choropleth map of precincts, a pie chart of crime types, and bar charts showing age and race distributions. Users can click precincts or crime categories to filter across all views, with a reset button to restore the full dataset. The visualization uses D3 v6 with d3.geoMercator and d3.geoPath for the map projection, d3.arc for the pie chart, and d3.scaleBand for bar charts. Crime data is color-coded via a linear gradient legend and tooltip interactions.

AI-generated description

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

See also React Starter.