Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 map

Public visualization

D3 map

2 stars15🌍 Public
LLaurens
Last edited Nov 2, 2020
Created on Nov 7, 2019

D3 map visualizes museum object locations on a natural Earth projection, plotting over 1,500 coordinates from a SPARQL query against the Network Digital Heritage dataset. The map renders countries as goldenrod paths using `d3.geoPath` and `topojson.feature`, then animates white circles bouncing onto each location with staggered `transition.attr` delays. Built with d3.v5 and SVG, it uses `geoNaturalEarth1` for projection and fetches live JSON data from the dataset endpoint.

AI-generated description

Creating a map with data in d3

This example will show how to load data into d3 to create a worldmap

I've based this off of Curran's map example

Comments

Sign in to join the discussion.

MIT Licensed