Skip to main content
100%

HTML Starter

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

A world map rendered with SVG using D3.js v5 and the topojson library displays country boundaries via a Natural Earth projection. Each country is colored with a categorical ordinal color scale based on the result of its numeric ID modulo 10, which is also shown in a tooltip on hover. The map supports zooming through D3’s zoom behavior, and hovering highlights a country in red. A color legend, built from the ordinal scale’s domain, is positioned at the top right.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes