6  Required mappings

GEOM REQUIRED MAPPINGS
geom_abline NA
geom_area x and y.
geom_bar x or y
geom_bin_2d x and y.
geom_bin2d x and y.
geom_blank NA
geom_boxplot x or y
geom_col x and y.
geom_contour x, y, and z.
geom_contour_filled x, y, and z.
geom_count x and y.
geom_crossbar x, y, ymin, and ymax or x, y, xmin, and xmax.
geom_curve x, y, and xend or x, y, and yend.
geom_density x or y
geom_density_2d x and y.
geom_density_2d_filled x and y.
geom_density2d x and y.
geom_density2d_filled x and y.
geom_dotplot x.
geom_errorbar x, ymin, and ymax or y, xmin, and xmax.
geom_errorbarh xmin, xmax, and y.
geom_freqpoly x or y
geom_function NA
geom_hex x and y.
geom_histogram x or y
geom_hline yintercept.
geom_jitter x and y.
geom_label x, y, and label.
geom_line x and y.
geom_linerange x, ymin, and ymax or y, xmin, and xmax.
geom_map NA
geom_path x and y.
geom_point x and y.
geom_pointrange x, y, ymin, and ymax or x, y, xmin, and xmax.
geom_polygon x and y.
geom_qq sample.
geom_qq_line sample.
geom_quantile x and y.
geom_raster x and y.
geom_rect xmin, xmax, ymin, and ymax.
geom_ribbon x, ymin, and ymax or y, xmin, and xmax.
geom_rug NA
geom_segment x, y, and xend or x, y, and yend.
geom_sf NA
geom_sf_label geometry.
geom_sf_text geometry.
geom_smooth x and y.
geom_spoke x, y, angle, and radius.
geom_step x and y.
geom_text x, y, and label.
geom_tile x and y.
geom_violin x and y.
geom_vline xintercept.