Raster & Vector I
✓ Published0🌍 Public
Mmbostock
Last edited Mar 22, 2019
Created on Mar 28, 2013
This example displays geographic vector boundaries overlaid on a raster map of Detroit. Using d3-tile to fetch and position OpenStreetMap image tiles, it renders them as a base layer within an SVG canvas. The d3.geoPath and d3.geoMercator projections draw a TopoJSON mesh of Detroit’s streets on top, creating a composite view of vector data and raster imagery.
AI-generated descriptionUsing d3-tile to display raster image tiles underneath some TopoJSON vectors. Compare to the zoomable version.
Tiles copyright OpenStreetMap contributors.
gpl-3.0 Licensed