Skip to main content
100%

Untitled

✓ Published2🌍 Public
AAnnie Ulichney
Last edited Apr 8, 2021
Created on Apr 6, 2021
Forked from D3 Starter

This example visualizes the counties of New York State using a Transverse Mercator projection, with state boundaries outlined and counties filled in gray. Hovering over a county highlights it in light blue. The code loads US TopoJSON data via `d3.json`, extracts New York using `topojson.feature`, and applies a clipping path to restrict county paths to the state outline. It uses `d3.geo.path` for rendering and `path.bounds` to auto-fit the projection scale and translation.

AI-generated description
MIT Licensed

Similar vizzes