Fork of Responsive Scatter Plot
✓ Published0🌍 Public
This fork of a responsive scatter plot displays the relationship between birth rate and maternal mortality ratio across countries, using world data from 2023. It loads a CSV file with `d3.csv`, filters out incomplete records, and renders circles with a linear scale for each axis. The chart adapts to its container size through `observeResize` from `@curran/responsive-axes`, which updates the SVG dimensions and scales automatically. The code uses D3 v7 selections and `scaleLinear` for positioning, with reusable axis components handling labels and offsets.
AI-generated descriptionA responsive scatter plot.
MIT Licensed