Skip to main content
100%

Linking a map to a timeline with d3

✓ Published0🌍 Public
SSaminu
Last edited May 26, 2015
Created on Jan 7, 2017

The visualization links a geographic map of New York City with a timeline to explore sampled crime data from 2013. It uses d3.v3's `d3.geo.mercator` projection and `d3.geo.path` to render borough boundaries as SVG paths, plotting each incident as a circle scaled by `d3.scale.sqrt` and colored by crime type. Selecting a time range on the timeline filters the map markers via a brush interaction. The map’s title, "NYC Crimes (select a time range)," clarifies the purpose. Data comes from a CSV file containing lat/lon and date fields, and the timeline encodes daily crime counts.

AI-generated description

Similar vizzes