Skip to main content
100%

D3 World Map

✓ Published0🌍 Public
AAsmabee Khan
Last edited Jan 6, 2020
Created on Jan 6, 2020
Forked from HTML Starter

This example displays a world map rendered as black countries with white borders on an SVG canvas. It uses D3.js version 5 and the `d3.geoMercator()` projection to transform geographic coordinates, with `d3.geoPath()` drawing the country boundaries. The map data is loaded from a GeoServer WFS endpoint as GeoJSON, which is then converted to TopoJSON via the `topojson` library to structure the geometries for rendering. The visualization showcases D3’s ability to handle geographic data through its projection and path APIs.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes