Avocados Scatter Plot with Time
✓ Published0🌍 Public
This scatter plot displays avocado volume data from the Hass Avocado Board for 2018, plotting total bags against dates across the year. The visualization uses D3 v5 with SVG rendering, employing d3.scaleTime and d3.scaleLinear to map temporal and quantitative dimensions. Circles represent individual data points, with axes generated using d3.axisBottom and d3.axisLeft. The code loads CSV data via d3.csv, formats date strings into JavaScript Date objects, and applies a dark green fill with partial opacity to the circles.
AI-generated descriptionThis scatter plot shows data for avocados in 2018
Hass Avocado Board
MIT Licensed