Skip to main content
100%

Fixed projection for US States

✓ Published1🌍 Public
Jjons288
Last edited Nov 7, 2018
Created on Oct 21, 2018

This example visualizes US states using a fixed Albers USA projection, plotting avocado sales data from a CSV dataset for January 15, 2017. State boundaries are rendered as SVG paths via d3.geoPath and topojson.feature, with red circles marking each state’s centroid using d3.geoCentroid. The map supports pan and zoom through d3.zoom, while color-coded regions (Northeast, Midwest, South, West) are defined in CSS but remain commented out in the active code.

AI-generated description
MIT Licensed

Similar vizzes