Fixed projection for US States
✓ Published1🌍 Public
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 descriptionMIT Licensed