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)

Thg3MMyq4Nbm0iu3__kFy

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.

  • App.jsx: placeholder narrative and visualization.
  • Scrollytelling.jsx: reusable layout with a render prop receiving the zero-based active step.
  • 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. 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.