plot_barchart_by_tiers: Barchart showing revenue/usage by tier.

Description Usage Arguments Value

Description

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.

Usage

1
plot_barchart_by_tiers(data, display_type, bar_type)

Arguments

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.

Value

A plotly object created from a ggplot chart, with plotly's modebar removed.


California-Data-Collaborative/RateComparison documentation built on May 6, 2019, 9:27 a.m.