Storytelling with data

From sammcj/agentic-coding · View interactive version

Storytelling with data is an AI agent skill from the GitHub repository sammcj/agentic-coding. Apply storytelling principles to create, review, and improve data visualisations and data-driven communications. Use when the message or story of a data communication (chart, dashboard, infographic, data-driven deck or report) needs structuring or review, or when structuring narrative arcs, hooks, o

How to use this skill

Skill file

Storytelling with Data (SWD) Skill

Apply the 6-lesson SWD framework from Cole Nussbaumer Knaflic for visual and design decisions, combined with narrative storytelling frameworks (Dykes, Duarte, Miller, Dicks, Cron, Heath) for structuring compelling stories that drive action.

Format-agnostic by design: This skill covers _what_ to communicate and _how_ to design it. Pair it with format-specific skills that handle output mechanics (e.g. pptx skill for slide decks, a web framework for dashboards).


The SWD 6-Lesson Framework

Every data communication task should be evaluated against these 6 lessons, applied in order:

Lesson 1: Understand the Context

Before touching any tool, answer three questions:

  1. WHO is your audience? What do they care about? What's their relationship to you? What will motivate them?
  2. WHAT do you need them to know or do? Define the single action or takeaway.
  3. HOW will you communicate? Live presentation? Email? Dashboard? This changes everything about design.

Key techniques:

When reviewing existing work, ask:

Lesson 2: Choose an Appropriate Visual Display

Match the visual to the message. You can handle the vast majority of business communications with just a few chart types.

Read references/chart-selection.md for the detailed chart selection guide.

Quick decision framework:

Charts to AVOID:

Lesson 3: Eliminate Clutter

Clutter is any visual element that takes up space without adding understanding. Every element increases cognitive load - the mental effort to process information.

Identify and remove:

Apply Gestalt Principles to structure what remains:

Decluttering process (step by step):

  1. Remove chart borders
  2. Remove or lighten gridlines
  3. Remove data markers (unless specific points need emphasis)
  4. Clean up axis labels (round numbers, remove unnecessary precision)
  5. Label data directly (eliminate legends where possible)
  6. Use consistent, strategic colour

Lesson 4: Focus Your Audience's Attention

Use preattentive attributes - visual properties the brain processes before conscious thought - to guide the eye to what matters:

The Grey + One Colour rule: Default everything to grey, then use ONE strategic accent colour to highlight the story. This is the single most impactful SWD technique.

Read references/colour-and-emphasis.md for the emphasis hierarchy and grey-plus-accent strategy. This skill owns the message and emphasis strategy; for the visual rendering and colour system (validated palettes, mark specs) defer to the dataviz skill.

Memory matters:

Lesson 5: Think Like a Designer

Design serves the message. Apply these principles:

Practical design rules:

Lesson 6: Tell a Story

Without narrative, data visualisations are just pretty pictures. Multiple frameworks exist for structuring compelling stories. Choose based on your scenario.

Read references/narrative-frameworks.md for detailed framework guidance and references/hooks-and-moments.md for hook and aha moment techniques.

Framework Selection

| Scenario | Primary Framework | Supporting |

|---|---|---|

| Data insight presentation | Dykes Data Storytelling Arc | Heath SUCCESs |

| Persuasive keynote or pitch | Duarte Sparkline | Miller SB7, Dicks |

| Product/brand positioning | Miller StoryBrand SB7 | Duarte, Heath |

| Conference talk / personal story | Dicks Five-Second Moment | Duarte, Cron |

| Message stickiness review | Heath SUCCESs checklist | |

Storytelling techniques (applicable across all frameworks):

Applying SWD: Task-Specific Workflows

Creating New Data Communications

This workflow applies regardless of output format (slide deck, dashboard, infographic, static site, report).

  1. Context interview - Ask the user: Who's the audience? What's the one thing they should take away? How will this be delivered?
  2. Choose narrative framework - Data insight: Dykes Arc. Persuasive pitch: Duarte Sparkline. Product positioning: Miller SB7. (See references/narrative-frameworks.md)
  3. Storyboard - Draft section/panel titles as a narrative arc. For Dykes: Setting > Hook > Rising Points > Aha Moment > Solution. For Duarte: What Is > What Could Be (alternating) > New Bliss.
  4. Craft the Hook - Must land within 60 seconds. Choose from: anomaly, stakes, contrast, question, vulnerability, or in-medias-res. (See references/hooks-and-moments.md)
  5. Chart selection - For each data point, pick the simplest effective chart (see references/chart-selection.md)
  6. Build - Apply Lessons 3-5 while creating each section or view
  7. Verify the Aha Moment - Does it surprise? Shift understanding? Have an explicit "so what"? Is it at the climax, not the beginning?
  8. Review - Check horizontal logic (titles alone tell the story), vertical logic (each unit stands alone), and run the SUCCESs checklist

Format-Specific Considerations

| Format | Key adaptations |

| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |

| Slide deck | Sparse visuals (presenter narrates), one idea per slide, progressive build/reveal |

| Dashboard | Self-explanatory (no presenter), overview panels first with drill-down detail, interactive filters to reduce clutter |

| Infographic | Single linear flow top-to-bottom, strong visual hierarchy to guide the eye, must stand alone without explanation |

| Static site / playground | Progressive disclosure (summary up top, detail below or on click), responsive layout considerations, can use animation/interaction for reveal |

| Written report | More annotation and explanation than visual formats, charts support the narrative text rather than replace it |

Creating a Persuasive Pitch or Keynote

  1. Define The Big Idea (Duarte): One sentence = situation + complication leading to recommended action
  2. Map the audience as hero (Miller SB7): What do they want? What problem do they face (external, internal, philosophical)? How are you the guide?
  3. Structure with Sparkline contrast: Alternate "what is" vs "what could be" throughout
  4. Plant a S.T.A.R. Moment (Duarte): Something They'll Always Remember: a dramatic, tangible demonstration of the idea
  5. Craft sound bites: Small, repeatable phrases for headlines and sharing
  6. End with New Bliss: Paint the picture of the world with the idea adopted + clear call to action
  7. Apply SWD Lessons 2-5 for any data slides within the pitch

Structuring a Personal or Conference Story

  1. Find the five-second moment (Dicks): What single moment of transformation is this story about?
  2. Start at the end: Know where you're going, then build backward
  3. Begin in the opposite: Open in the emotional/situational opposite of where the story ends
  4. Apply the Dinner Test: Would you tell it this way to a friend over dinner?
  5. Load engagement devices: Stakes (hopes/fears before moving forward), Surprise (build it, don't spoil it), Suspense (make them wonder what's next)
  6. Slow down at the moment: Use the Hourglass (Dicks): add detail and a beat right before the climax

Positioning a Product or Brand

  1. Complete the SB7 BrandScript (Miller): Character > Problem > Guide > Plan > CTA > Failure > Success
  2. Define the villain: Must be a root source (not a feeling), relatable, singular, and real
  3. Articulate three problem levels: External (tangible), Internal (emotional), Philosophical (why it's wrong)
  4. Establish Guide credentials: Empathy ("I understand") + Authority ("I've solved this before")
  5. Show the transformation: Clear before/after: who does the customer become?
  6. Run SUCCESs check (Heath): Is the message Simple, Unexpected, Concrete, Credible, Emotional, Story-driven?

Reviewing / Critiquing Existing Work

Run through the SWD Review Checklist in references/review-checklist.md. For each chart, panel, section, or slide, evaluate against all 6 lessons and provide specific, actionable feedback. Additionally evaluate the narrative structure:

Chart / Visualisation Makeover

  1. Identify the core message (what should the audience think/do?)
  2. Choose a better chart type if needed (Lesson 2)
  3. Strip all clutter (Lesson 3)
  4. Apply grey + accent colour strategy (Lesson 4)
  5. Add a declarative action title (Lesson 5)
  6. Add text annotations to guide interpretation (Lesson 5)
  7. Show before/after to demonstrate the improvement

Reference Files

| File | When to read |

|------|-------------|

| references/narrative-frameworks.md | When structuring any narrative: data stories, pitches, keynotes, brand positioning. Contains Dykes (Data Storytelling Arc), Duarte (Sparkline), Miller (SB7), Dicks (Five-Second Moment), Cron (Brain Science), Heath (SUCCESs). Framework selection table is in Lesson 6. |

| references/hooks-and-moments.md | When crafting a hook or aha moment. Contains 6 hook types, the Insight Test, placement principles, and engagement devices. |

| references/chart-selection.md | When choosing a chart type or advising on visual selection |

| references/review-checklist.md | When reviewing or critiquing existing data communications |

| references/colour-and-emphasis.md | When making colour choices or applying emphasis strategies |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.