Skip to main content
100%

Fork of Responsive Scatter Plot

✓ Published0🌍 Public
KKiernan Nesslar
Last edited Apr 30, 2024
Created on Apr 30, 2024

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 description

A responsive scatter plot.

MIT Licensed

Similar vizzes