Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Responsive Scatter Plot

Public visualization

Fork of Responsive Scatter Plot

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed