Data, Code and Visualization

valueBoxes and Sparklines

The value boxes are a good way to get to the point quickly in a dashboard showing the relevant value with a big font and eye-catching color. But sometimes it would be better show that relevant number with a related text, sparkline or information to give context of that value, or just to compare it with the previoues ones. In this post we'll show how to add sparklines to valueBox in shinydashboard and other related packages.

The tale of two charts combined

…Or when two half chart are more than one, or maybe: The love between the streamgraph and stack column chart… In this post we’ll review some ideas in the chart used by Financial Times in it’s Coronavirus tracker, and how we can replicate it in R using highcharter package.

#30diasdegraficos Parte 3

La tercera parte (y última?) Queda un buen trecho por recorrer y quedan características, opciones y series que nos falta ver, revisar y aprender.

#30diasdegraficos Parte 2

La segunda parte, A seguir aprendiendo sobre todas las posibilidades que highcharts a través de R nos puede brindar.

#30diasdegraficos Parte 1

30 días de gráficos para compartir y aprender gracias a la inciativa de R4DS_es. Aprenderemos manipulación básica en R, highcharter y más!

#GOT Animating the Shifting of Affiliations

My first steps using the gganimate package using Game of Thrones data!

When charts are integrated in the web page

I saw a chart yesterday, a chart without frame, without title or captions just a very hidden chart at bottom of the web page. It will be a nice time to get the most interesting visual features of it.

Using tooltips in unexpected ways

Highcharts tooltips are one of most underated features. In the tooltips you can easily render html, that means we can put images, tables even charts. So the possibilities are almost limitless.

Giving a Thematic Touch to your Interactive Chart

Sometimes you need to express yourself.

Thematic Interactive Map

Last week all the #rstatsosphere see a beautiful swiss map from Timo Grossenbacher using just ggplot2. Now is the turn of highcharter because all can be better with a bit of interactivity.

Interactive and Styled Middle Earth Map

Just for fun and because we can.

Replicating NYT Weather App

So much time since my last post so I want to post something, no matter what it is, but I hope this will be somehow helpful.

Pokemon: Viz 'em all

At some point we had to do it

Adding motion to choropleths

We will use the highchart motion plugin with a map.

How to: Weather Radials

TLDR: Creating weather radials withh highcharter and ggplot2

Visualizing Chess Data With ggplot

A collection of chess visualization using only... yeah, you know! only ggplot2.

rchess a Chess Package for R

Finally R have a chess package! Let's see what can it do.

More articles »

Data, Code and Visualization


If you see mistakes or want to suggest changes, please create an issue on the source repository.


Text and figures are licensed under Creative Commons Attribution CC BY 4.0. Source code is available at, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".