Smooth animated temperature shift in R

           · ·

Here is a rundown of the R code I used to create the following animated graphic. This graphic is part of a long form story (paywall, in French) on global warming focused on Switzerland. It shows the shift in monthly temperatures in Geneva for 1864-1900 vs 1982-2018. It relies on ggplot2 for the chart and on gganimate to, well, you know, animate it. It was my first use of gganimate, a pretty new amazing R package.


Fails et succès en mi-saison 2017/18 de Super League: comparaison historique

         · · · ·      · · ·

This post is part of a dataviz remix series of the Swiss football league’s results. The motivations behind it are explained in this post. La Super League reprend ses droits ce samedi après la trêve hivernale. L’occasion de faire le point sur les (contre-)performances à la mi-saison. --


De leur histoire en Super League, la meilleure saison de Young Boys

         · ·      · · ·

This post is part of a dataviz remix series of the Swiss football league’s results. The motivations behind it are explained in this post. Bouleversement dans la Super League, du suspense ? Un mini séisme se profile-t-il cette année en Super League ? Au terme du 19ème tour, les Bernois devancent le FC Bâle de 2 points. Super insipide S’il y a bien quelque chose de super dans la Super League de football suisse, c’est sa prévisibilité.


SwissSuperLeague series delayed

         · ·      ·

This post is part of a dataviz remix series of the Swiss football league’s results. The motivations behind it are explained in this post. Write a #rstats scraper, bother to make a package for it and see that the data have been migrated to a new website/data structure @SFV_ASF pic.twitter.com/pEVHqLefyN — 𝙳𝚞𝚌-𝚀𝚞𝚊𝚗𝚐 𝙽𝚐𝚞𝚢𝚎𝚗 (@duc_qn) November 20, 2017 Pour des raisons indépendantes de ma volonté, la série de visualisation de la #SwissSuperLeague est contrainte à un hiatus de quelques semaines.


SwissSuperLeague dataviz remix 1 - Points evolution

         · ·      · · · ·

This post is part of a dataviz remix series of the Swiss football league’s results. The motivations behind it are explained in this post. Première mouture Mon but ici, visualiser l’évolution des résultats des équipes. En comparaison avec le graphique officiel de la Swiss Football League ci-desssous, je suis plutôt satisfait. J’apprécie de pouvoir constaster les passages à vide ou la constance de certaines équipes. Par exemple, le début de saison calamiteux du Lausanne Sport, suivi d’une jolie remontée.


Time for sports to get a dataviz makeover

         · ·      · · ·

I have to confess, I am not into sports. Nor do I know much about football. But as media and data professional, I am irked by how sport is summarised and visually conveyed. I am referring here to the ubiquitous league table. Present everywhere, whether being in print or online. All team sports’ results are recapped in such table. RTS Sports’s football table for the Swiss Super League What’s wrong with league table?


Interactive mekko charts in R

         · · · ·      · ·

Mekko what? Despite its confusing name, Mekko or Marimekko chart is a simple yet effective data visualisation form. Here is a rundown in R for the interactive Mekko chart under (which is part of this story). I used ggiraph, a great ggplot2 extension that binds d3.js to ggplot2. This allows to easily turn a ggplot2 object into an interactive graphic. The bar height here is proportional to the number of jobs and shows the large difference of jobs for different occupations.