🌍 Public
Viewing a saved revision (read-only)
50caaf16cbeb4ed48fc6fe4e65644e6a
Fork of Chloropleth
This fork of a choropleth visualization displays global country data using two side-by-side SVG panels. The left panel renders a world map with an equal Earth projection, coloring countries by their birth rate through a linear blue-to-red scale via `d3.geoPath` and `d3.scaleLinear`. The right panel is a scatterplot intended to show relationships between variables like fertility rate and life expectancy, though its rendering code is commented out. The example demonstrates D3 v6’s map projection and spatial path generation within a React framework.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.