Skip to main content
100%

World Map Visualization

✓ Published2🌍 Public
Ssaikrishnabussa
Last edited Jul 18, 2023
Created on Jul 18, 2023
Forked from HTML Starter

This example displays a choropleth world map where countries are colored by population using a blue sequential color scale. The visualization loads geographic boundaries from Natural Earth GeoJSON and joins them with population data from a CSV file. It leverages D3 v6 APIs including `d3.csv`, `d3.json`, `d3.geoNaturalEarth1`, `d3.geoPath`, and `d3.scaleQuantize` with `d3.schemeBlues`. Countries without matching data appear black, while the SVG rendering uses a 800x500 viewport.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes