Skip to content

Scrollytale StarterMarkdown-driven D3 scrollytelling

A standalone starter for turning story specs and CSV files into scroll-driven webpages.

What It Is

scrollytale-starter is a standalone project for building scroll-driven data stories with:

  • one Markdown story file: story.md
  • one or more CSV files in public/data/
  • a small runtime that turns the story spec into a webpage

The core idea is simple:

  1. write or generate story.md
  2. point sections at real CSV fields
  3. run the starter
  4. get a scrollytelling webpage

This repo is designed for both humans and AI agents.

Quick Start

  1. Read authoring-workflow.md
  2. Read story-format.md
  3. Open story.md
  4. Run npm install && npm run dev

For AI Agents

Use this repo as the runtime and template layer.

Read in this order:

  1. this page
  2. authoring-workflow.md
  3. story-format.md
  4. project-model.md
  5. the actual story.md

Default behavior:

  • edit story.md
  • copy CSV files into public/data
  • adjust src/styles/custom.css only when needed

Avoid changing runtime code unless the user explicitly asks for a new feature.

What This Repo Is

This repo is:

  • a standalone starter project
  • a runtime for rendering a Markdown story spec
  • a template that can be cloned and customized

This repo is not:

  • a visual builder
  • a general-purpose chart library
  • a complete replacement for custom frontend work

Current v0 Scope

  • structure: linear
  • layout: chapter, hero, scrolly-left, scrolly-overlay, scrolly-right, full-width
  • vis.type: html, bar, line, unit

The broader academic design space is documented in design-space.md. The starter already accepts some of that metadata in story.md, even when the runtime support is still partial.

Treat that page as advanced/internal guidance. New stories should usually start from the simpler examples in story-format.md.

Companion Skill

This starter is meant to work well with a separate AI authoring skill named scrollytale.

That skill helps an AI:

  • clone this starter
  • inspect CSV columns
  • draft a story plan
  • generate story.md

But the starter must remain usable on its own. Someone should be able to clone this repo and manually edit story.md without using any separate skill tooling.

Documentation Site

This documentation site is powered by VitePress and intended for:

  • GitHub browsing
  • GitHub Pages publishing
  • onboarding for both humans and AI agents

To publish it, enable GitHub Pages in the repository and choose:

  • Source: GitHub Actions

Built with VitePress for humans and AI agents.