Skip to main content
100%

Raster & Vector IV

✓ Published0🌍 Public
CCurran Kelleher
Last edited Mar 9, 2019
Created on Mar 9, 2019

This visualization combines OpenStreetMap raster tiles with vector overlay points, showing the locations of all 50 U.S. state capitals. The SVG rendering uses d3.tile to fetch and position image tiles, while a CSV dataset provides latitude/longitude coordinates for each capital, which are drawn as red points using d3.geoPath with a Mercator projection. Pan and zoom interactions are handled by d3.zoom, which dynamically updates both the tile layer and the overlaid points. The map initially centers on the contiguous United States.

AI-generated description

Using d3-tile to display raster image tiles underneath a CSV dataset of point locations (U.S. state capitals), and d3-zoom for pan & zoom. See also the TopoJSON version and the static version.

Tiles copyright OpenStreetMap contributors.

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/9535021'>Raster & Vector IV</a>

gpl-3.0 Licensed

Similar vizzes