Comparison Kit Support: GitHub issues

Bar Chart Race

What it shows. Horizontal 3D bars re-rank over time. Ranks are taken at every period and blended between periods; overtakes slide the passing bar in front of the one it passes. Event captions can label moments.

Bars mid-overtake with the year counter

Actor: CK Bar Race. Demo maps: L_CK_BarRace_StudioGlass (and _Shorts).

Data

Series data goes in Series Table (row struct CKSeriesRow), Series Csv or Series, in that priority. Two layouts:

Samples: series_population_decades.csv and series_population_decades_wide.csv. Captions go in Events (period + text).

Key settings

Field Default What it does
Series Table (SeriesTable) - Row struct must be CKSeriesRow (label, period, value...). Takes priority over SeriesCsv and Series. (Details: Comparison | Race Data)
Series Csv (SeriesCsv) - Long (label,period,value[,country,image,color]) or wide (label[,country...],1990,2000,...) CSV. Relative to the project folder. (Details: Comparison | Race Data)
Events (Events) - Captions shown from their period on, for Event Seconds. (Details: Comparison | Race Data)
Top N (TopN) 10 Bars on screen. (Details: Comparison | Race Data)
Period Decimals (PeriodDecimals) 0 Decimals of the period counter (0 for years). (Details: Comparison | Race Data)
Bar Length (BarLength) 2600 Length of the leading bar, cm (at most: shortened when the frame is too narrow for it, as in 9:16). (Details: Comparison | Layout)
Bar Thickness (BarThickness) 120 Bar thickness (height on screen), cm; the bar's depth is Column Width. (Details: Comparison | Layout)
Row Gap (RowGap) 45 - (Details: Comparison | Layout)
Seconds Per Period (SecondsPerPeriod) 1.2 Time from one period to the next. (Details: Comparison | Timing)
Swap Seconds (SwapSeconds) 0.6 How long an overtake takes: the passing bar slides in front of the one it passes. (Details: Comparison | Timing)
End Hold Seconds (EndHoldSeconds) 3.5 Hold on the last period before the outro. (Details: Comparison | Timing)
Event Seconds (EventSeconds) 4 How long an event caption stays on screen. (Details: Comparison | Timing)
Event Shows Period (bEventShowsPeriod) On Starts each event caption with its period (for example 1999: World population passes 6 billion) so the caption stays true while the counter runs on. (Details: Comparison | Timing)
Camera Angle (CameraAngle) 14 Degrees the camera looks across the bars from the right (0 = straight on). (Details: Comparison | Camera)
Camera Tilt (CameraTilt) 8 Degrees the camera looks down on the bars. (Details: Comparison | Camera)
Camera Drift (CameraDrift) 0.04 Share of the frame width the camera slides to each side and back (one sway every 16 s), so the chart never stands still between swaps. 0 = locked camera. (Details: Comparison | Camera)

Tips