About Packed Bars

If you want to read more about the ideas behind packed bars, I’d suggest to read this introduction by the chart’s creator, Xan Gregg. Also in the linked article, he provides an annotated example that serves as a pretty good intro by itself (shown below).

If you want to see some more example usage of the rPackedBar package without having to write any code you can check out a toy app I published on shinyapps.io. The app grabs some tweets for a given user and uses packed bars to plot tweet interactions (as measured by retweets and favorites). You can see example output in the screen shot at the top of this post.

Note: The app uses the functions packedBarOutput & renderPackedBar. At the time of writing this post, these functions are not included in the version of the package on CRAN. They are included in the dev version that can be installed using: devtools::install_github('AdamSpannbauer/rPackedBar')

Update to Post & Package

The updates to the package are only available in the dev version at the time of writing this.