ggvis_barchart: ggvis-style barchart

ggvis_barchartR Documentation

ggvis-style barchart

Description

ggvis-style barchart

Usage

ggvis_barchart(input_data, ..., y = ~ems_qty)

Arguments

input_data

data frame

...

further arguments to ggvisggvis

Examples

library(inventory)
BY2011_NOx_2015 <- BY2011_annual %>% filter(year == 2015, pol_abbr == "NOx")
BY2011_NOx_2015_by_cnty <- BY2011_NOx %>% annual_emissions_by(cnty_abbr)
BY2011_NOx_2015_by_cnty %>% dplyr::select(cnty_abbr, ems_qty) %>% arrange(ems_qty) %>% google_piechart(caption = "2015 NOx emissions (Source: BY2011)")


BAAQMD/ggtools documentation built on Feb. 8, 2023, 6:22 p.m.