Skip to main content
100%

World Map and Pattern Transitions

✓ Published0🌍 Public
Aandrew-reid
Last edited Jan 8, 2018
Created on Jan 8, 2018

This example renders a world map using TopoJSON country boundaries from the world-atlas package and projects them with d3.geoMercator and d3.geoPath. Each country is filled with an SVG pattern that continuously animates: a small orange rectangle expands to cover the 20-by-20-pixel tile, then resets, alternating between orange and white fills via a recursive transition with d3.easeQuadOut. The pattern is rotated 45 degrees, creating a dynamic striped texture across all landmasses.

AI-generated description

Similar vizzes