Skip to main content
100%

TopoJSON Parallax

✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Jun 4, 2013

A stack of four SVG layers forms a parallax map of the United States, with each layer shifting at a different rate relative to the mouse position. The bottom layer shows a blurred land glow, followed by the land fill, county boundaries, and state boundaries on top. The visualization uses `d3.json` to load TopoJSON from a gist, `d3.geo.albersUsa` for the projection, and `d3.geo.path` to render the geographic features. Mouse movement triggers CSS 3D transforms on each SVG to create the depth effect.

AI-generated description

Adding a little parallax to the U.S. TopoJSON example to illustrate the different layers.

gpl-3.0 Licensed

Similar vizzes