Skip to content

2022ΒΆ

"Bar chart made in Altair with Financial Times style"

"#30DayChartChallenge #Day24 Themeday: Financial times"

  • image: images/barchart_FT_style_altair.png
import pandas as pd
import altair as alt

The #30DayChartChallenge Day 24 calls for Financial Times themed charts. The bar chart that I will try to reproduce in Altair was published in the article: "Financial warfare: will there be a backlash against the dollar?"

This is the graph (without FT background) to we want to reproduce:

"Reconstructing Economist graph with Altair"

"#30DayChartChallenge #altair #day12"

  • image: images/Economist_stye%3B_30dayschartchallenge_day12.png

In an Economist article "The metamorphosis: How Jeremy Corbyn took control of Labour", the following graph appeared:

Later, Sarah Leo, data visualiser at The Economist, improved the graph to:

The rationale behind this improvement is discussed in her article: 'Mistakes, we made a few'.

In this article, I show how visualisation library Altair can be used to reconstruct the improved graph.