Skip to main content
100%

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

✓ Published1🌍 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
MIT Licensed

Similar vizzes