Line chart races
In the World Bank’s figures, India passed China as the most populous country in 2021, and by 2025 it led by about 57 million people. A line chart race shows that crossing as it happens, with each country’s whole path behind it. Make a line chart race from your own CSV.
Most Populous Countries, World Bank — World Development Indicators. Open this race · Restyle it in the maker
Watch any race as lines
Every race on the site has a Bars / Lines switch. A few to start with:
- Most Populous Countries
- Largest Economies by GDP
- Human Development Index by Country
- Largest Cities in the World
- GDP per Capita by Country
- International Tourism, Number of Arrivals by Country
- Life Expectancy by Country
- Unemployment Rate by Country (IMF)
- Annual CO₂ Emissions by Country
- Inflation Rate, Average Consumer Prices by Country
What you can change
- Time axis: grows with the race, follows it in a moving window, or shows the whole period from the start.
- Values or ranks: plot the numbers, or each line’s position (1st, 2nd, 3rd…).
- Scale: linear or logarithmic, starting at zero or fitted to the lines on screen.
- Lines: smooth, straight or stepped; width, glow, shading underneath, dots at the ends.
- Labels: flags or logos at the label or the line’s end, name, value, rank; labels never overlap.
- Focus: highlight a few names and dim the rest; keep earlier leaders as faint lines; add timed notes such as “2008: Financial crisis”.
- Everything else: themes, fonts, colours, titles, logo, speed and canvas size, as in the bar chart race maker.
Frequently asked questions
What is a line chart race?
A line chart race is an animated line chart that draws each line year by year and keeps its history on screen, so you see how the leaders got there: who climbed steadily, who stalled and where two lines crossed. Only the current top few lines are drawn; a line that drops out fades away.
Line chart race or bar chart race: which should I use?
A bar chart race answers who is ahead right now; a line chart race answers how the gap opened or closed. Use lines when the path matters (a crossover, a slump, steady growth), bars when the ranking matters. Every race on this site can be watched both ways with the Bars / Lines switch.
Can I show ranks instead of values?
Yes. Set “Lines show” to “Rank” in the maker’s Lines panel and each line plots its position, 1st to 10th, so overtakes become crossing lines (a bump chart).
How do I export a line chart race as a video?
Open the maker, pick a dataset or upload a CSV, style the chart and press Export video. The MP4 is made in your browser at up to 4K, in landscape, square or vertical sizes for Shorts and Reels. Nothing is uploaded.
Is it free?
Yes. The maker, the exports and every chart on the site are free, with no account and no watermark beyond the logo you choose.