Skip to main content
100%

Gapminder Data in React and D3 - rotated menu, added color and legend

✓ Published1🌍 Public
Llakalia@wpi.edu
Last edited Oct 14, 2020
Created on Oct 12, 2020

This interactive scatter plot visualizes Hans Rosling’s Gapminder data from 1950, showing countries as colored circles positioned by year (x-axis) and a user-selected metric (y-axis) via a rotated dropdown menu. Each circle encodes its World Bank region through color, with a legend clarifying the mapping and tooltips revealing country names. Built with React and D3 (v5), the visualization uses `scaleLinear`, `scaleOrdinal`, and SVG rendering, with axes, color legend, and marks generated as reusable React components. The code loads data via D3’s `csv` method and filters out zero values before plotting.

AI-generated description

Hans Rosling Gapminder data sets: A visualization in React and D3.

Hans Rosling Gapminder summary from 1950 is a summary of data that was downloaded from Step 1 of How to build Animated Charts like Hans Rosling — doing it all in R and originally comes from Gapminder.com

MIT Licensed

Similar vizzes