Lesson Open Access

Exploding barplot - Animation (with R-script and example data)

J.Goedhart

Bar plots hide the data and therefore dot plots are preferred. The provided R-script (+ example data) can be used to (re)create an animation in which the barplot is 'detonated', showing the underlying data.

The R-script can be used to create an animation from user-supplied data (the current script uses a csv file, with data organized in columns).

Files (15.3 MB)
Name Size
_Exploding_Barplot.gif
md5:9291a16c588d46374b34cec1fc36048f
794.0 kB Download
data_in_columns2.csv
md5:161bb7e439adc5db55684e3264a21e64
561 Bytes Download
Exploding_Barplot.R
md5:b54ff52108d7224c99ae48d99bf2cd99
6.5 kB Download
Stack-for-animation-Expl_Bar.tif
md5:ac36cfe034c64f28898f585cff50cac7
14.5 MB Download
4,645
5,577
views
downloads
All versions This version
Views 4,6454,653
Downloads 5,5775,577
Data volume 4.9 GB4.9 GB
Unique views 4,4954,503
Unique downloads 5,3305,330

Share

Cite as