Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Grid Sampling on Census Tracts - Coloring the Grid

Public visualization

Fork of Fork of Grid Sampling on Census Tracts - Coloring the Grid

0 stars1🌍 Public
CCurran Kelleher
Last edited May 8, 2024
Created on May 8, 2024

This interactive map visualizes New York census tracts on an orthographic projection, with a uniform grid of circles overlaid across the viewport. Grid points inside tract boundaries render as larger, colored circles using a sequential Cubehelix color scale, while points outside remain small. The code uses `d3.geoOrthographic`, `d3.geoPath`, and `topojson-client` for rendering, with `@turf/turf` for point-in-polygon tests and `rbush` for spatial indexing. Census data comes from a Gist, and drag and zoom interactions adjust rotation and scale.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed