Skip to contents

Color Palettes

Access and customize color palettes

benvi_palette()
A color palette for Benvi.
benvi_colors()
Get Benvi colors by name
list_palettes()
List available palette names
list_colors()
List available color names
show_palettes()
Display all Benvi palettes

ggplot2 Scales

Color and fill scales for ggplot2

Plot Helper Functions

Wrapper functions for common plot types

plot_line()
Title
plot_line_trend()
Plot the original series plus a trend-line with emphasis on the trendline
plot_column()
Plot a column chart
plot_column_label()
Column plot with text labels
plot_scatter()
Plot a scatter chart
plot_area()
Plot an area chart
plot_histogram()
Plot a histogram chart
plot_add_xy()
Add axis to a plot

Themes

Custom ggplot2 themes

theme_benvi()
A base theme for Benvi plots

Font Management

Modern font setup and configuration

setup_benvi_fonts()
One-command setup for benviplot fonts
install_poppins()
Install Poppins font from Google Fonts
check_poppins_installed()
Check if Poppins font is installed on the system
font_status()
Get font installation status and recommendations
get_poppins_variants()
Get available Poppins font variants

Saving Plots

Export plots with optimal settings

ggsave_benvi()
Save a ggplot with benviplot optimizations

Utilities

Helper and utility functions

pretty_number()
Format a number as a label

Data

Example datasets

iqa
QuintoAndar Index data
iqaiw
QuintoAndar ImovelWeb Rental Index (IQAIW)