Skip to main content
100%

Fork of Fork of Fork of Scatterplot for peng bird dataset

✓ Published0🌍 Public
Cc_peimann@coloradocollege.edu
Last edited May 10, 2024
Created on May 10, 2024

This interactive world map visualizes global obesity rates, with countries colored on a red sequential scale according to their reported obesity percentage, while nations lacking data remain gray. The visualization uses the d3.geoMercator projection and d3.geoPath to render country boundaries from a GeoJSON world map, then overlays obesity data from an external CSV file. The code employs d3.scaleSequential with d3.interpolateReds to create the color mapping, and d3.json and d3.csv load the respective data sources. Hovering a country turns it orange via CSS, and country labels appear at path centroids. The map is displayed in an SVG container within an HTML page.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes