Plots the California counties, filled according to a particular feature.

map_plot(
  data,
  variable,
  breaks = NULL,
  title = NULL,
  fill = "Rates (%)",
  trans = NULL
)

Arguments

data

The dataset that contains the variable to be plotted

variable

The variable to be plotted

breaks

The breaks for the legend. By default set to NULL

title

The title of the figure. By default set to NULL

fill

The fill of the figure. By default set to Rates (%)

trans

The transformation to be applied to the data. By default set to NULL