Skip to main content
100%

Avocado Sales US States

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

This visualization displays avocado sales volumes across US states for the week of January 15, 2017, using a choropleth-style map where states with sales appear in pink and states without data are gray. Circles sized by total sales volume are overlaid at each state’s centroid, using `d3.geoAlbersUsa` projection and `d3.geoPath` for state boundaries. The code loads data from a CSV via `d3.csv` and merges it with TopoJSON state geometries using TopoJSON’s `feature` function, then applies `d3.scaleSqrt` to scale circle radii. Interactivity includes zoom via `d3.zoom` and hover effects that highlight states in red.

AI-generated description

This image shows Avocado sales around the US during the week of 1/15/2017.

MIT Licensed

Similar vizzes