wsj_pal: Wall Street Journal color palette (discrete)

View source: R/wsj.R

wsj_palR Documentation

Wall Street Journal color palette (discrete)

Description

The Wall Street Journal uses many different color palettes in its plots. This collects a few of them, but is by no means exhaustive. Collections of these plots can be found on the WSJ Graphics Twitter feed and Pinterest.

Usage

wsj_pal(palette = "colors6")

Arguments

palette

character The color palette to use: . \Sexpr[results=rd]{ggthemes:::rd_optlist(names(ggthemes::ggthemes_data$wsj$palettes))}

Palettes

The following palettes are defined,

rgby

Red/Green/Blue/Yellow theme.

red_green

Green/red two-color scale for good/bad.

green_black

Black-green 4-color scale for 'Very negative', 'Somewhat negative', 'somewhat positive', 'very positive'.

dem_rep

Democrat/Republican/Undecided blue/red/gray scale.

colors6

Red, blue, gold, green, orange, and black palette.

See Also

Other colour wsj: scale_colour_wsj()


jrnold/ggthemes documentation built on Feb. 17, 2024, 7:30 a.m.