🌍 Public
Viewing a saved revision (read-only)
e5cf747db91c47029eca1f72aad5f09b
ScatterPlot
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