{"version":"1.0","type":"rich","title":"Gapminder Data in React and D3 - rotated menu, added color and legend","description":"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.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/09403bfe913d467a90c72e724831403d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}