Skip to main content
Public

Share visualization

Loading preview…

Scrollytelling Starter

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Viewing a saved revision (read-only)

D_K8y3jrV7G9b2SY_pcLg

Scrollytelling Starter

0 stars0
CCurran Kelleher
Last edited Nov 28, 2026
Created on Nov 28, 2026
View stargazers

Scrollytelling Starter

A minimal React scrollytelling example with three placeholder steps and one SVG circle. Scroll down or up to change the active step and continuously vary the circle radius using a sine wave.

  • App.jsx: placeholder narrative and visualization.
  • Scrollytelling.jsx: reusable layout with a render prop receiving the zero-based active step and normalized scroll progress (0–1).
  • useActiveStep.js: native scroll detection relative to the scroll container.
  • styles.css: sticky graphic and responsive layout.

The graphic has no knowledge of scrolling. Replace it with any React or D3 visualization driven by the active step and/or continuous progress. The circle completes one oscillation from radius 36 to 86 and back to 36 as progress goes from 0 to 1. The dedicated scroll container works independently of the embedding page. On narrow screens the graphic sticks above the text and the trigger line moves below it.

No additional dependencies or external data are used. The original React + D3 starter helper files remain unused.