Skip to main content
100%

Avocados Scatter Plot

✓ Published0🌍 Public
Jjons288
Last edited Sep 26, 2018
Created on Sep 12, 2018

This scatter plot displays weekly avocado sales, showing the relationship between total volume sold and average price from 2016 to 2018, with each circle colored by year. Data comes from the Hass Avocado Board dataset. The visualization uses D3 v5 with `scaleLinear` for axes, `scaleOrdinal` for color encoding, and `axisBottom`/`axisLeft` for ticks. The SVG rendering includes custom axis labels, a title, and a legend built from the color scale domain.

AI-generated description

This plot shows the average cost of an avocado vs the total volume of avocados sold every week from 2016 to 2018, from Hass Avocado Board.

Thanks to Weijie Pang for the Legend code

MIT Licensed

Similar vizzes