Skip to main content
100%

Fork of Stylized Scatter Plot

✓ Published0🌍 Public
NNikithakatta30
Last edited May 18, 2023
Created on May 18, 2023
Forked from D3 Starter

This interactive scatter plot displays country-level well-being indicators, with happiness score on the x-axis and a selectable y-axis metric (economy, social support, generosity, freedom, or corruption). Each circle represents a country, with an HTML `<title>` tooltip showing its exact happiness score. The React-based visualization uses D3 v5 scales (`scaleLinear`), axes (`AxisBottom`, `AxisLeft`), and CSV data loading (`d3.csv`) from a GitHub gist. Users switch the y-axis via a dropdown, triggering React state updates that re-render the SVG marks.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes