Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of Responsive 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 Fork of Responsive Scatter Plot

0
Cc_peimann@coloradocollege.edu
Last edited May 3, 2024
Created on May 3, 2024

This responsive scatter plot visualizes obesity trends over time, filtering the dataset to include only records for both sexes. It renders circles on an SVG canvas, with each point representing a year and its corresponding obesity percentage. The chart uses D3 v7’s scaleLinear, axisBottom, and axisLeft to construct the axes, while mouseover and mouseout events highlight individual points in red. The code loads data from a CSV file named `obesity-cleaned.csv` and is built with the d3 library, featuring fixed dimensions and margins.

AI-generated description

A responsive scatter plot.

Comments

Sign in to join the discussion.

MIT Licensed