Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
Kkasalwelengwe@gmail.com
Last edited Mar 6, 2020
Created on Mar 6, 2020
Forked from HTML Starter

This example displays an interactive world map with countries colored according to their numeric ID modulo 10, using a spectral color scale to distinguish the resulting categories. The visualization uses D3 v5 with a Natural Earth projection via `d3.geoNaturalEarth1` and `d3.geoPath`, while loading country boundaries from a topojson file. A custom color legend with circles and text labels is built using D3 selections and scales, and the map supports panning and zooming through `d3.zoom`. Population data from a CSV file is not directly displayed; instead, country names and their category values appear as tooltips on click.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes