The effect covid-19 and chip shortage on car registrations in Portugal

Update - a new animation that includes de data for 2022






Car sales have been severely affected in 2020 by the covid-19 pandemic and then in 2021 by the chip shortage. To analyse that, I've created an animated visualization from the data available in https://www.autoinforma.pt/pt/estatisticas that provides monthly passenger car's registrations per month since 2015 in Portugal.

The green boxes give the monthly minimum, maximum and median values for the 5 years period before the pandemic (2015-2019). The animated lines show the values for 2020 (in blue) and 2021 (in red).

In 2020 we can see the effect of the first pandemic with a big drop in sales in March and April. Things got better in August but with the sales never reaching high levels. 

In 2021 the monthly values are always bellow the observed before the pandemic. It is difficult to distinguish what was due to the pandemic or to the chip shortage. 

The plot was created using ggplot2 and the gganimate package.










Comments

  1. This graphic is very interesting. It shows the various information in a very instinctive way, without creating any confusion. Visually beautiful. My congratulations!

    ReplyDelete

Post a Comment