Skip to main content
100%

Fork of Fork of Responsive Scatter Plot

✓ Published0🌍 Public
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.

MIT Licensed

Similar vizzes