Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ScatterPlot

Public visualization

Viewing a saved revision (read-only)

6510e4b73d674eb983ac414f5c9f79cb

ScatterPlot

0 stars1🌍 Public
Nniveshsyreddy@gmail.com
Last edited Mar 26, 2025
Created on Mar 26, 2025
Forked from Question 2

This scatter plot visualizes the relationship between age and total hair loss, where each data point aggregates hair loss values by age group. The chart uses D3 v7 with SVG rendering, loading CSV data from a GitHub gist via `d3.csv`. The script processes the data using `d3.rollups` to sum hair loss per age, then applies `d3.scaleLinear` for both axes and renders circles with `d3.axisBottom` and `d3.axisLeft` for the labeled axes.

AI-generated description