🌍 Public
Scatterplot of CDC Dataset describing Age (in Years) vs. Weight (in Pounds)
This D3.js scatterplot visualizes the relationship between age (in years) and weight (in pounds) using CDC health data. The plot encodes each individual as a circle, with x-coordinates representing age and y-coordinates representing weight, using linear scales for both axes. The visualization employs D3's `csv` loader to parse the remote dataset, `select` to manage the SVG container, and `scaleLinear` to map data values to screen coordinates. The code constructs the chart with `axisLeft` and `axisBottom`, and renders all data points as SVG circles.
AI-generated descriptionThis visualization is a D3 scatterplot of age vs. weight from the CDC Dataset.
MIT Licensed
Comments
Sign in to join the discussion.