Choropleth for countrycolor line 126
✓ Published0🌍 Public
A dual-panel visualization shows the relationship between urbanization and socioeconomic indicators across countries. A choropleth map colors nations by urban population rate using a green-to-grey scale, while a scatter plot positions countries by GDP per capita against life expectancy, with point size encoding population and color distinguishing continents. The example uses D3 v6’s `d3.geoEqualEarth`, `d3.geoPath`, and `d3.scaleLinear` within a React context, rendering both SVG panels side-by-side with animated updates and a tooltip.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed