Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Avocado Sales US States

Public visualization

Avocado Sales US States

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

Comments

Sign in to join the discussion.

MIT Licensed