Skip to main content
100%

Map with D3.js

✓ Published0🌍 Public
YYifu Chen
Last edited Dec 28, 2019
Created on Dec 28, 2019

This example renders a world map as an SVG using D3 v5 and TopoJSON. It loads country boundary data from the world-atlas dataset via `d3.json`, converts TopoJSON features to GeoJSON with `feature()`, and logs the resulting country collection to the console. The visualization itself is minimal—a blank SVG canvas sized 960 by 500 pixels—with no geographic projection or path drawing applied yet, focusing on data loading and transformation rather than visual output.

AI-generated description

Yifu's practice on making a map with d3.js

Tutorial: https://www.youtube.com/watchv=_8V5o2UHG0E&t=1220s

Dec. 28, 2019

MIT Licensed

Similar vizzes