Learn R Programming

⚠️There's a newer version (5.1.0) of this package.Take me there.

ggthemes (version 5.0.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

43,638

Version

5.0.0

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Jeffrey B. Arnold

Last Published

November 21st, 2023

Functions in ggthemes (5.0.0)

canva_pal

Canva.com color palettes
hc_pal

Highcharts color palette (discrete)
scale_shape_circlefill

Filled Circle Shape palette (discrete)
scale_shape_calc

Calc shape scale
geom_rangeframe

Range Frames
scale_fill_excel

Excel 97 ugly color scales
scale_colour_canva

Discrete color scale using canva.com color palettes
scale_colour_tableau

Tableau color scales (discrete)
scale_colour_economist

Economist color scales
ggthemes_data

Palette and theme data
scale_color_pander

Color scale from the pander package
scale_colour_wsj

Wall Street Journal color and fill scales
scale_colour_stata

Stata color scales
scale_fill_calc

LibreOffice Calc color scales
extended_range_breaks_

Pretty axis breaks inclusive of extreme values
scale_colour_ptol

Color Scales from Paul Tol's "Colour Schemes
stata_linetype_pal

Stata linetype palette (discrete)
scale_colour_hc

Highcharts color and fill scales
colorblind_pal

Colorblind Color Palette (Discrete) and Scales
few_shape_pal

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

Stata color palettes (discrete)
tableau_gradient_pal

Tableau colour gradient palettes (continuous)
show_linetypes

Show linetypes
show_shapes

Show shapes
theme_few

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

Tufte Maximal Data, Minimal Ink Theme
theme_fivethirtyeight

Theme inspired by FiveThirtyEight plots
theme_wsj

Wall Street Journal theme
fivethirtyeight_pal

FiveThirtyEight color palette
palette_pander

Color palette from the pander package
ptol_pal

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

Tableau Shape Palettes (discrete)
scale_linetype_stata

Stata linetype palette (discrete)
geom_tufteboxplot

Tufte's Box Plot
ggthemes

ggthemes
scale_colour_gradient2_tableau

Tableau diverging colour scales (continuous)
excel_pal

Excel 97 ugly color palettes (discrete)
scale_colour_fivethirtyeight

FiveThirtyEight color scales
scale_colour_gradient_tableau

Tableau sequential colour scales (continuous)
scale_colour_excel_new

Excel (current versions) color scales
smart_digits

Format numbers with automatic number of digits
theme_excel

ggplot theme based on old Excel plots
solarized_pal

Solarized color palette (discrete)
theme_excel_new

ggplot theme similar to current Excel plot defaults
scale_fill_gdocs

Google Docs color scales
scale_shape_tremmel

Shape scales from Tremmel (1995)
theme_solid

Theme with nothing other than a background color
scale_colour_few

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

Solarized color scales
theme_stata

Themes based on Stata graph schemes
scale_shape_stata

Stata shape scale
few_pal

Color Palettes Few "Show Me the Numbers"
scale_shape_few

Scales for shapes from "Show Me the Numbers"
scale_shape_cleveland

Shape scales from Cleveland "Elements of Graphing Data"
stata_shape_pal

Stata shape palette (discrete)
scale_shape_tableau

Tableau shape scales
theme_foundation

Foundation Theme
theme_gdocs

Theme with Google Docs Chart defaults
tableau_color_pal

Tableau Color Palettes (discrete)
theme_hc

Highcharts Theme
theme_base

Theme Base
solarized_rebase

Base colors for Solarized light and dark themes
theme_calc

Theme Calc
stat_fivenumber

Calculate components of a five-number summary
theme_igray

Inverse gray theme
theme_solarized

ggplot color themes based on the Solarized palette
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_economist

ggplot color theme based on the Economist
tremmel_shape_pal

Shape palette from Tremmel (1995) (discrete)
theme_map

Clean theme for maps
theme_clean

Clean ggplot theme
theme_pander

A ggplot theme originated from the pander package
wsj_pal

Wall Street Journal color palette (discrete)
canva_palettes

150 Color Palettes from Canva
excel_new_pal

Excel (current versions) color palettes (discrete)
circlefill_shape_pal

Filled Circle Shape palette (discrete)
calc_shape_pal

Calc shape palette (discrete)
bank_slopes

Bank Slopes to 45 degrees
economist_pal

Economist color palette (discrete)
calc_pal

Calc color palette (discrete)
cleveland_shape_pal

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

Google Docs color palette (discrete)