Skip to main content
100%

creating world map

✓ Published0🌍 Public
Vvaddepallinaveen
Last edited Apr 3, 2022
Created on Apr 2, 2022
Forked from HTML Starter

This example shows a natural Earth projection of the world map, with countries filled in yellow and a green sphere background. Hovering a country turns it blue and reveals its name via a tooltip. It loads GeoJSON country boundaries from the world-atlas dataset and country names from a TSV file, then renders them as SVG paths using d3.geoPath and d3.geoNaturalEarth1. The code uses d3.json, d3.tsv, and topojson.feature for data processing, with React managing the component structure.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes