Scrollytelling Template
✓ Published0🌍 Public
HHirosaji
Last edited Apr 17, 2020
Created on Apr 7, 2020
This scrollytelling template uses Mapbox GL JS and Scrollama to guide viewers through a narrative about crime statistics in Tokyo, overlaying data on a map of the city. It shows the geographic distribution of crimes, Olympic venue locations, and popular residential rankings, with map layers and camera positions changing as the viewer scrolls. The code uses Mapbox GL JS’s `setPaintProperty` to adjust layer opacity and the IntersectionObserver API to trigger chapter transitions. Data is sourced from the Tokyo Metropolitan Police and SUUMO rankings.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed