Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
NNebotXavi
Last edited Mar 5, 2020
Created on Mar 5, 2020
Forked from HTML Starter

This example shows a world map rendered with D3’s Mercator projection, displaying country boundaries as SVG paths. The code loads GeoJSON country features from the world-atlas TopoJSON file via `topojson.feature`, then appends each country as a `<path>` using `d3.geoPath`. The accompanying `data.csv` includes population figures, but the current script does not encode population visually—only the geographic outlines appear. The map is drawn inside a fixed 960×600 SVG, with CSS styling for tick lines, though no axes or scales are currently applied to the map itself.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes