Skip to main content
100%

Plot vector points on a cropped raster image with d3.js

✓ Published0🌍 Public
CCaged
Last edited Jul 30, 2014
Created on Jul 30, 2014

This example shows how to plot vector points from a GeoJSON file on top of a cropped raster image (map) using D3.js. A Mercator projection is aligned to the raster’s geographic bounds, then scaled and translated to fit the image dimensions. Supermarket locations are rendered as red SVG circles over the image.

AI-generated description

Similar vizzes