Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a map with D3.js!

Public visualization

Let's make a map with D3.js!

0 stars0🌍 Public
Sskambaskamba
Last edited Jul 15, 2020
Created on Jul 15, 2020

This example displays a map of Austrian districts using SVG paths generated from TopoJSON data. The code projects geographic coordinates with the Mercator projection and renders boundaries via `d3.geoPath`. It fetches the TopoJSON file from a remote GitHub repository, converts it to GeoJSON features using the `feature` function from topojson, and appends the resulting paths to an SVG. The visualization uses D3 v5, including d3-array and d3-geo modules, with a fixed viewport of 960 by 500 pixels.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed