Fork of D3 Scatter Plot
✓ Published1🌍 Public
This D3 scatter plot visualizes beer volume consumption by year, using data from a TidyTuesday food and beverage dataset. The visualization maps each data point as a circle, scaled from the dataset’s extent with `d3.scaleLinear`, and renders axes using `d3.axisLeft` and `d3.axisBottom`. The code filters out rows with missing beer values and uses `d3.csv` with a parsing function to convert numeric fields. The resulting SVG spans the full browser window, and each circle includes a tooltip title showing the precise year and beer volume for that point.
AI-generated descriptionMIT Licensed