Skip to main content
100%

Fork of D3 Starter

✓ Published0🌍 Public
Ggregoryh@ucar.edu
Last edited Jan 8, 2024
Created on Jan 8, 2024
Forked from D3 Starter

This example animates a map of Walmart store openings across the United States over time, using a sliding date window to reveal dots as they appear. It combines D3 v7 with a topojson map of the lower 48 states and a geographic projection via `d3.geoAlbersUsa` and `d3.geoPath`. Store locations are loaded from a TSV file and sorted by date, while a scrubber drives the animation. The code uses `d3.create`, `selection.join`, and `transition.attr` to show and hide arrival points, with a blue dot marking the current store.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes