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
2,184
733
views
downloads
All versions This version
Views 2,1842,184
Downloads 733733
Data volume 614.0 MB614.0 MB
Unique views 2,1322,132
Unique downloads 692692

Share

Cite as