scatterplot of doctors and life expectancy
A scatterplot displays the relationship between flipper length and body mass for three penguin species, colored green, blue, and gray, using data from a GitHub-hosted CSV. The visualization is rendered in SVG via D3 v6, with axes created using `scaleLinear`, `axisLeft`, `axisBottom`, and `extent`. Circles are bound to data through `selectAll` and `join`, while a title and axis labels are appended as SVG text elements. The example uses React-style JavaScript but relies on imperative D3 DOM manipulation.