DATAVIX

Bar chart race from a spreadsheet

A bar chart race shows how the ranking of several items changes over time: each period is a frame and the bars swap places as the values change. In Datavix it comes from a spreadsheet with dates, items and values, without uploading the file to any server.

Updated

Bar chart race in Datavix: horizontal bars ranked by value, the current period highlighted and the Pause, period and Cumulative controls
Bar chart race with fictional data.

01

What the spreadsheet needs

Datavix offers the bar chart race when it finds a date column, 3 or more items (the series competing for the ranking), 4 or more periods and a value column. The simplest layout is one row for each item in each period:

Example spreadsheet with fictional data
DateItemValue
2022-01Store A120
2022-01Store B95
2022-01Store C80
2022-02Store A130
2022-02Store B140
2022-02Store C85

The values are fictional, only to show the layout. If a requirement is missing, the race appears dimmed in the chart list, with the reason.

02

How to create it

  1. Add the spreadsheet

    Drag the .xlsx, .xls or .csv file into Datavix.

  2. Check the columns

    The date, the item and the value need the right role on the reading screen.

  3. Pick “Bar chart race”

    It shows up in the chart list when your data supports it.

  4. Play it

    The animation starts on its own. Use Play and Pause, or pick a period.

  5. Export

    Interactive HTML, PNG of the current frame, PowerPoint or MP4 video.

03

By period or cumulative

Without the Cumulative option, each frame shows the value of that period alone. With it, the values add up over time, which suits totals such as cumulative sales.

04

Tips for a good race

  • Use the same item names in every period. Differences in capitalization or accents become separate items, and Datavix suggests merging similar labels.
  • Prefer regular periods (every month, every year) so the pace of the race makes sense.
  • Write the title as a statement of what the race shows, not just the name of the measure.

05

Exporting the race

  • Interactive HTML: one file that opens offline, with Play and Pause.
  • PNG: the current frame at 1920×1080 or 4K.
  • PowerPoint: the race comes out as the closest native chart for the same data (ranked bars), with a note on the slide. The animation does not go into the file. See export to PowerPoint.
  • MP4 video: vertical or square, no audio. See video for social media.

06

Quick questions

Is a “bar chart race” the same as a “racing bar chart”?

Yes. They are two names for the same chart.

How many periods and items do I need?

At least 4 periods and 3 items, with a date column and a value column.

Does the spreadsheet go to a server?

No. Everything happens in your browser.

Keep reading

Make your bar chart race

Add the spreadsheet and watch the ranking move.