Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 Scatter Plot

Public visualization

Fork of D3 Scatter Plot

0 stars1🌍 Public
Ddanh.nguyen0010@gmail.com
Last edited Aug 22, 2026
Created on Aug 21, 2026
Forked from D3 Scatter Plot

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 description

Comments

Sign in to join the discussion.

MIT Licensed