Choropleth Map NU
✓ Published0🌍 Public
A choropleth map displays the World Happiness Report 2019 scores of countries. The map uses a Robinson projection and colors each nation according to its happiness score using a sequential OrRd color scale. The visualization is built with D3 v4 and React, and renders as an SVG. The code uses `d3.geoPath`, `d3.geoRobinson`, and `d3.scaleThreshold` for the choropleth. It fetches GeoJSON and CSV data from GitHub. Interactive features include a tooltip and click-to-zoom animation using `d3.transition`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed