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