Skip to main content
100%

Gist 8393734

✓ Published0🌍 Public
Aadkatrit
Last edited Jan 13, 2014
Created on Jan 13, 2014

This example visualizes U.S. Census tract 51760061000 as three adjacent GeoJSON polygons, each labeled with its geographic identifier and centroid coordinates. The code loads the tract geometries and renders them using D3’s `d3.geoPath` and `d3.geoMercator` projection, drawing filled and stroked shapes to distinguish sub-tracts. The visualization relies on the `tract51760061000.geojson` file, which contains latitude and longitude properties for each polygon, and uses D3’s data-binding to map features to paths on an SVG canvas.

AI-generated description

Similar vizzes