Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fixed projection for US States

Public visualization

Viewing a saved revision (read-only)

29470626282d4d769cb5909765d10f2d

Fixed projection for US States

0 stars1🌍 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