Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

HTML Starter

Public visualization

Viewing a saved revision (read-only)

2c5e1cf6bd4c4e39a3a747d85f9483dd

HTML Starter

0 stars1🌍 Public
PPaul Chen
Last edited Oct 26, 2020
Created on Oct 26, 2020
Forked from HTML Starter

This example displays a world map using the geoMercator projection, with country boundaries rendered as SVG paths. The map is generated from the world-atlas countries-110m GeoJSON dataset, loaded via d3.json. The code imports d3.geoPath and d3.geoMercator from d3.v5, and topojson’s feature function to extract country features. The resulting paths are appended to an SVG canvas of 960 by 500 pixels, demonstrating a minimal HTML setup with inline styling.

AI-generated description

A bare minimum HTML page.

See also React Starter.