Learn R Programming

ggthemes (version 5.1.0)

Extra Themes, Scales and Geoms for 'ggplot2'

Description

Some extra themes, geoms, and scales for 'ggplot2'. Provides 'ggplot2' themes and scales that replicate the look of plots by Edward Tufte, Stephen Few, 'Fivethirtyeight', 'The Economist', 'Stata', 'Excel', and 'The Wall Street Journal', among others. Provides 'geoms' for Tufte's box plot and range frame.

Copy Link

Version

Install

install.packages('ggthemes')

Monthly Downloads

62,024

Version

5.1.0

License

GPL-2

Issues

Pull Requests

Stars

Forks

Last Published

February 10th, 2024

Functions in ggthemes (5.1.0)

extended_range_breaks_

Pretty axis breaks inclusive of extreme values
scale_colour_gradient2_tableau

Tableau diverging colour scales (continuous)
scale_fill_calc

LibreOffice Calc color scales
scale_colour_tableau

Tableau color scales (discrete)
scale_colour_canva

Discrete color scale using canva.com color palettes
geom_rangeframe

Range Frames
scale_colour_economist

Economist color scales
scale_colour_gradient_tableau

Tableau sequential colour scales (continuous)
scale_fill_excel

Excel 97 ugly color scales
scale_shape_circlefill

Filled Circle Shape palette (discrete)
scale_shape_calc

Calc shape scale
scale_colour_excel_new

Excel (current versions) color scales
ptol_pal

Color Palettes from Paul Tol's "Colour Schemes"
palette_pander

Color palette from the pander package
scale_colour_few

Color scales from Few's "Practical Rules for Using Color in Charts"
scale_colour_hc

Highcharts color and fill scales
scale_linetype_stata

Stata linetype palette (discrete)
scale_fill_gdocs

Google Docs color scales
scale_colour_fivethirtyeight

FiveThirtyEight color scales
show_linetypes

Show linetypes
show_shapes

Show shapes
scale_colour_wsj

Wall Street Journal color and fill scales
scale_colour_stata

Stata color scales
scale_shape_cleveland

Shape scales from Cleveland "Elements of Graphing Data"
scale_shape_few

Scales for shapes from "Show Me the Numbers"
scale_colour_ptol

Color Scales from Paul Tol's "Colour Schemes
scale_color_pander

Color scale from the pander package
scale_shape_stata

Stata shape scale
scale_shape_tableau

Tableau shape scales
solarized_pal

Solarized color palette (discrete)
smart_digits

Format numbers with automatic number of digits
tableau_gradient_pal

Tableau colour gradient palettes (continuous)
tableau_shape_pal

Tableau Shape Palettes (discrete)
tableau_color_pal

Tableau Color Palettes (discrete)
stata_shape_pal

Stata shape palette (discrete)
scale_shape_tremmel

Shape scales from Tremmel (1995)
stata_pal

Stata color palettes (discrete)
stata_linetype_pal

Stata linetype palette (discrete)
scale_fill_solarized

Solarized color scales
solarized_rebase

Base colors for Solarized light and dark themes
stat_fivenumber

Calculate components of a five-number summary
theme_excel

ggplot theme based on old Excel plots
theme_excel_new

ggplot theme similar to current Excel plot defaults
theme_foundation

Foundation Theme
theme_gdocs

Theme with Google Docs Chart defaults
theme_map

Clean theme for maps
theme_pander

A ggplot theme originated from the pander package
theme_tufte

Tufte Maximal Data, Minimal Ink Theme
theme_calc

Theme Calc
theme_base

Theme Base
theme_wsj

Wall Street Journal theme
theme_few

Theme based on Few's "Practical Rules for Using Color in Charts"
theme_hc

Highcharts Theme
theme_solarized

ggplot color themes based on the Solarized palette
theme_solid

Theme with nothing other than a background color
theme_clean

Clean ggplot theme
theme_fivethirtyeight

Theme inspired by FiveThirtyEight plots
theme_igray

Inverse gray theme
theme_par

Theme which uses the current ‘base’ graphics parameter values from par(). Not all par() parameters, are supported, and not all are relevant to ggplot2 themes.
theme_stata

Themes based on Stata graph schemes
theme_economist

ggplot color theme based on the Economist
tremmel_shape_pal

Shape palette from Tremmel (1995) (discrete)
wsj_pal

Wall Street Journal color palette (discrete)
circlefill_shape_pal

Filled Circle Shape palette (discrete)
canva_palettes

150 Color Palettes from Canva
colorblind_pal

Colorblind Color Palette (Discrete) and Scales
economist_pal

Economist color palette (discrete)
calc_shape_pal

Calc shape palette (discrete)
calc_pal

Calc color palette (discrete)
cleveland_shape_pal

Shape palette from Cleveland "Elements of Graphing Data" (discrete).
canva_pal

Canva.com color palettes
gdocs_pal

Google Docs color palette (discrete)
hc_pal

Highcharts color palette (discrete)
few_shape_pal

Shape palette from "Show Me the Numbers" (discrete)
excel_new_pal

Excel (current versions) color palettes (discrete)
bank_slopes

Bank Slopes to 45 degrees
fivethirtyeight_pal

FiveThirtyEight color palette
ggthemes_data

Palette and theme data
geom_tufteboxplot

Tufte's Box Plot
ggthemes-package

ggthemes: Extra Themes, Scales and Geoms for 'ggplot2'
excel_pal

Excel 97 ugly color palettes (discrete)
few_pal

Color Palettes Few "Show Me the Numbers"