Description Usage Arguments Value
plot_barchart_by_tiers
returns a bar chart showing the revenue/usage
generated under the baseline and hypthetical rate structures. These bars are
further broken down and colored by tier, so that the amount of revenue/usage
generated in each tier is visible.
1 | plot_barchart_by_tiers(data, display_type, bar_type)
|
data |
The dataframe filtered by date range and rate code. |
display_type |
A string specifying whether to display "Revenue" in millions of dollars, of "Usage" in thousands of acre-feet. |
bar_type |
A string showing whether to display the "Absolute" revenue in each tier, or the "Percent" of revenue in each tier. |
A plotly object created from a ggplot chart, with plotly's modebar removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.