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,291
5,070
views
downloads
All versions This version
Views 4,2914,299
Downloads 5,0705,070
Data volume 4.3 GB4.3 GB
Unique views 4,1664,174
Unique downloads 4,8874,887

Share

Cite as