Skip to main content
100%

D3 map

✓ Published3🌍 Public
Kkimgarrard
Last edited Nov 18, 2019
Created on Nov 14, 2019
Forked from D3 map

This example displays a natural Earth projection world map with photo thumbnails plotted at geographic coordinates. It queries the Network Digital Heritage SPARQL endpoint for image URLs and latitude/longitude pairs, then renders the images as SVG elements using d3.geoPath and d3.geoNaturalEarth1. The map itself loads TopoJSON world boundaries from the world-atlas package. Hovering over an image appends a text label via an event handler. The visualization uses d3.json for asynchronous data loading and d3-selection for DOM manipulation.

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

MIT Licensed

Similar vizzes