Skip to content
Back to skills

Ggthemes

ASecurity

R ggthemes package for extra ggplot2 themes. Use for publication-ready themes like Economist, WSJ, FiveThirtyEight.

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 5, 2026
data

Security analysis

A100/100

Scanned June 5, 2026

npx -y skills add LeoLin990405/r-analytics-skill --skill ggthemes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ggthemes?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ggthemes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leolin990405-ggthemes/badge)](https://www.skillsdirectory.com/skills/leolin990405-ggthemes)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ggthemes
description: R ggthemes package for extra ggplot2 themes. Use for publication-ready themes like Economist, WSJ, FiveThirtyEight.
---

# ggthemes Package

Extra themes and scales for ggplot2.

## Themes

```r
library(ggplot2)
library(ggthemes)

p <- ggplot(mtcars, aes(wt, mpg)) + geom_point()

# Publication themes
p + theme_economist()
p + theme_wsj()
p + theme_fivethirtyeight()
p + theme_tufte()
p + theme_stata()
p + theme_excel()
p + theme_gdocs()
p + theme_hc()  # Highcharts

# Minimal themes
p + theme_few()
p + theme_clean()
p + theme_foundation()
```

## Color Scales

```r
# Economist
p + scale_color_economist()

# Tableau
p + scale_color_tableau()
p + scale_fill_tableau()

# Colorblind-safe
p + scale_color_colorblind()

# FiveThirtyEight
p + scale_color_fivethirtyeight()

# Stata
p + scale_color_stata()

# Few
p + scale_color_few()
```

## Shapes

```r
# Shapes for colorblind
p + scale_shape_cleveland()
p + scale_shape_tremmel()
```

## Example

```r
ggplot(economics, aes(date, unemploy)) +
  geom_line() +
  theme_economist() +
  scale_color_economist() +
  labs(title = "US Unemployment")
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.