Skip to main content
100%

Let's make a map with D3.js!

✓ Published0🌍 Public
Jjhofang
Last edited Jan 8, 2020
Created on Jan 8, 2020

This example shows how to load and inspect a world map dataset using D3.js version 5 and TopoJSON. It fetches geographic data from the world-atlas package via `d3.json` and logs the parsed TopoJSON object to the browser console. The code initializes an SVG canvas with fixed dimensions and prepares it for future map rendering, though no visual output is drawn at this stage. The example demonstrates the fundamental workflow of fetching and handling geospatial data with `d3.json` and the TopoJSON library.

AI-generated description
MIT Licensed

Similar vizzes