make_bar | R Documentation |
Convenience function for an interactive bar that might otherwise be created using stat_summary(geom="bar").
make_bar(data, x.name, alpha = 1)
data |
data.frame to analyze for unique x.name values. |
x.name |
variable to be used for x, clickSelects. |
alpha |
transparency of selected bar, default 1. |
a geom_bar layer.
Toby Dylan Hocking
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.