Skip to main content
Public

Share visualization

Loading preview…

Fork of D3 Scatter Plot

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of D3 Scatter Plot

1
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