Skip to main content
100%

Let's make a map with D3.js!

✓ Published0🌍 Public
Aanduskong
Last edited Dec 16, 2020
Created on Dec 16, 2020

This example creates a tilegram map of the United States using D3.js and the TopoJSON library. It loads geographic data from `tile.topo.json` and renders each state as a path generator using `d3.geoPath` with a custom `geoTransform` projection. The SVG canvas is 1400 by 1000 pixels, and states are styled with their names and tilegram values from the data. The visualization demonstrates how to combine TopoJSON feature extraction with D3's geographic path rendering to produce a stylized map.

AI-generated description
MIT Licensed

Similar vizzes