COP 4283 · Data Science Programming
Lecture 24
D3 Force Layouts & Scrollytelling
November 19, 2026 · University of Central Florida · Dr. Yu Fu
11 tutorials6 exercisesD3 v7 & Scrollama
Start with the force simulation tutorials, then use Scrollama to build a scroll-driven visualization. A local server is recommended: run python -m http.server 8000 from this folder and open http://localhost:8000. D3 (v6/v7 depending on original example) and Scrollama CDNs require an internet connection.
PART I · FORCE SIMULATIONS
Force Layouts & Network Graphs
Repulsion, collision, category-based forces, node-link diagrams, labels, and dragging.
Tutorials · 7
PART II · SCROLLYTELLING
Scrollytelling & Animation
Sticky layouts, Scrollama triggers, chart updates, and narrative animation.
Tutorials · 4