Share this article:
$654+20.5% vs last periodHow to turn adataset into aslideshowDubo3 min read

How to turn a dataset into a slideshow: decide what earns a slide

I work on Datastripes, which is one of the options below.

Converting a CSV into slides is easy to automate. Choosing the eight things worth showing is the part that decides whether anyone follows. The example uses HistWarDB, an open dataset of historical wars that I co-authored: 1,500 rows, each one a state in a conflict, covering 502 conflicts.

1. Do not make one slide per column

A dataset is like a cube: you can turn it by metric, dimension and time. Explore many faces, then give a slide only to a view that answers a question.

A view earns a slide if you can say yes to all four:

  • Can I write its conclusion as one sentence?
  • Does the data support that sentence?
  • Would the audience understand or decide something differently without it?
  • Is it different from the slides already chosen?

2. Check the numbers before designing

In this file, the longest conflict after removing grouped wars appears to last 199 years. It is a record with no end date. A slide would make that error look authoritative.

Open the records behind every maximum, and keep a note of your filters.

3. Write the deck as a table first

#Slide title (the conclusion)Visual
1This dataset covers 502 conflicts and 445 statesKey figures
2In short: recorded history has gaps that shape every trendThree takeaways
3The 1800s have 178 recorded conflict starts, the 1700s have 98Bars by century
4Match with an academic war list rises from 62% to 92% over timeBars by period
5Some end dates are estimatedTwo example records
6Only 19 conflicts have casualty figures: we cannot rank deadlinessOne large number

Put the answer near the start. Someone who leaves after two slides should still have it. Slides 3 and 4 belong together: coverage affects how the first comparison can be read.

4. Choose how to build it

RouteGood forWatch out for
By hand in PowerPoint or Google SlidesA single important deckNumbers go stale when data changes
AI converterA quick first draftVerify every figure; check where your file is processed
Script (for example pandas and python-pptx)The same report every month, as a .pptx fileYou design the selection logic and layouts
Browser slide storyPresenting or sharing on the webIt is not a PowerPoint file

The browser route

@datastripes/dashboard can turn rows or a CSV, JSON or Excel file into a story in slides format: one finding per screen, takeaways placed near the opening, and navigation with arrow keys or buttons. It does not export a .pptx file.

import { mountAutoStory } from '@datastripes/dashboard';

await mountAutoStory(element, file, {
  apiKey,
  format: 'slides',
  locale: 'en-US',
  title: 'Three centuries of recorded wars',
  maxSections: 5
});

The story needs a license key (any non-empty key works on localhost for development). The text is built from templates and computed figures. The selection is automatic, so it cannot know which of your records are wrong or what your audience has to decide.

5. Review the deck

  • Read only the titles. Do they tell the story in order?
  • Trace every number back to a filter and a source.
  • Remove any slide whose title is just a column name.
  • State on a slide what the data cannot show.
  • Rehearse on the screen you will use.

Read next: From data to story · Data storytelling tool

Build this into your own app

The same engine behind this page is available as embeddable JS widgets.

Welcome to Datastripes