Retour au classement

karthik/wesanderson

R

A Wes Anderson color palette for R

plotwes-anderson-palettesrdata-visualizationcolor-palette
Croissance des étoiles
Étoiles
2.1k
Forks
150
Croissance hebdomadaire
Issues
15
1k2k
mars 2014avr. 2018juin 2022juil. 2026
README

Wes Anderson Palettes

Build
Status
CRAN Downloads

I saved you from boring plots. What did you ever do? - Max Fischer (probably)

Tired of generic mass produced palettes for your plots? Short of adding an owl and dressing up your plot in a bowler hat, here’s the most indie thing you can do to one. First round of palettes derived from the amazing Tumblr blog Wes Anderson Palettes.

Installation

install.packages("wesanderson")

Or the development version

devtools::install_github("karthik/wesanderson")

Usage

library("wesanderson")

# See all palettes
names(wes_palettes)
#>  [1] "BottleRocket1"  "BottleRocket2"  "Rushmore1"      "Rushmore"      
#>  [5] "Royal1"         "Royal2"         "Zissou1"        "Darjeeling1"   
#>  [9] "Darjeeling2"    "Chevalier1"     "FantasticFox1"  "Moonrise1"     
#> [13] "Moonrise2"      "Moonrise3"      "Cavalcanti1"    "GrandBudapest1"
#> [17] "GrandBudapest2" "IsleofDogs1"    "IsleofDogs2"    "FrenchDispatch"
#> [21] "AsteroidCity1"  "AsteroidCity2"  "AsteroidCity3"

Palettes

Bottle Rocket (1996)

wes_palette("BottleRocket1")

wes_palette("BottleRocket2")

Rushmore (1998)

wes_palette("Rushmore1")

The Royal Tenenbaums (2001)

wes_palette("Royal1")

wes_palette("Royal2")

library("ggplot2")
ggplot(mtcars, aes(factor(cyl), fill=factor(vs))) +  geom_bar() +
  scale_fill_manual(values = wes_palette("Royal1"))

The Life Aquatic with Steve Zissou (2004)

wes_palette("Zissou1")

pal <- wes_palette("Zissou1", 21, type = "continuous")
image(volcano, col = pal)

pal <- wes_palette("Zissou1", 100, type = "continuous")
# heatmap is a local dataset
ggplot(heatmap, aes(x = X2, y = X1, fill = value)) +
  geom_tile() + 
  scale_fill_gradientn(colours = pal) + 
  scale_x_discrete(expand = c(0, 0)) +
  scale_y_discrete(expand = c(0, 0)) + 
  coord_equal() 

The Darjeeling Limited (2007)

wes_palette("Darjeeling1")

wes_palette("Darjeeling2")

Hotel Chevalier (2007)

wes_palette("Chevalier1")

Fantastic Mr. Fox (2009)

wes_palette("FantasticFox1")

Moonrise Kingdom (2012)

wes_palette("Moonrise1")

wes_palette("Moonrise2")

wes_palette("Moonrise3")

Castello Cavalcanti (2013)

wes_palette("Cavalcanti1")

The Grand Budapest Hotel (2014)

wes_palette("GrandBudapest1")

wes_palette("GrandBudapest2")

The Isle of Dogs (2018)

wes_palette("IsleofDogs1")

wes_palette("IsleofDogs2")

The French Distpatch (2021)

wes_palette("FrenchDispatch")

Asteroid City (2023)

wes_palette("AsteroidCity1")

wes_palette("AsteroidCity2")

wes_palette("AsteroidCity3")

As seen in these publications

Imgur
Imgur
Imgur
Imgur
Imgur
Imgur
Dépôts similaires
leeoniya/uPlot

📈 A small, fast chart for time series, lines, areas, ohlc & bars

JavaScriptnpmMIT Licensetime-seriesohlc
10.3k461
ScottPlot/ScottPlot

Interactive plotting library for .NET

C#MIT Licenseplotplotting
scottplot.net
6.7k1k
epezent/implot

Immediate Mode Plotting

C++MIT Licenseimguiplotting-library
6.2k689
PlotJuggler/PlotJuggler

The Time Series Visualization Tool that you deserve.

C++Mozilla Public License 2.0rosqt5
plotjuggler.io
6.1k807
vega/vega-lite

A concise grammar of interactive graphics, built on Vega.

TypeScriptnpmBSD 3-Clause "New" or "Revised" Licensevisual-analysisvisualization-grammar
vega.github.io/vega-lite/
5.4k712
facontidavide/PlotJuggler

The Time Series Visualization Tool that you deserve.

C++Mozilla Public License 2.0rosqt5
plotjuggler.io
4.7k653
plotters-rs/plotters

A rust drawing library for high quality data plotting for both WASM and native, statically and realtimely 🦀 📈🚀

Rustcrates.ioMIT Licenserustvisualization
plotters-rs.github.io/home/
4.6k317
beto-rodriguez/LiveCharts2

Simple, flexible, interactive & powerful charts, maps and gauges for .Net, LiveCharts2 can now practically run everywhere Maui, Uno Platform, Blazor-wasm, WPF, WinForms, Xamarin, Avalonia, WinUI, UWP.

C#MIT Licenseunochart
livecharts.dev
4.6k606
guptarohit/asciigraph

Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.

GoGo ModulesBSD 3-Clause "New" or "Revised" Licenseasciigraphgraph
pkg.go.dev/github.com/guptarohit/asciigraph
3.1k121
antvis/G2Plot

:dango: An interactive and responsive charting library based on G2.

TypeScriptnpmMIT Licenseantvvisualization
g2plot.antv.antgroup.com
2.7k592
ivnsch/SwiftCharts

Easy to use and highly customizable charts library for iOS

SwiftApache License 2.0chartswift
2.6k405
AAChartModel/AAChartKit-Swift

📈📊📱💻🖥️An elegant modern declarative data visualization chart framework for iOS, iPadOS and macOS. Extremely powerful, supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange, bubble, box plot, error bars, funnel, waterfall and polar chart types. 极其精美而又强大的现代化声明式数据可视化图表框架,支持柱状图、条形图、折线图、曲线图、折线填充图、曲线填充图、气泡图、扇形图、环形图、散点图、雷达图、混合图等各种类型的多达几十种的信息图图表,完全满足工作所需.

SwiftMIT Licensechartcolumn-chart
cocoapods.org/pods/AAInfographics
2.5k263