{"id":13788748,"url":"https://github.com/jrnold/ggthemes","last_synced_at":"2025-05-14T11:11:24.491Z","repository":{"id":4568787,"uuid":"5710165","full_name":"jrnold/ggthemes","owner":"jrnold","description":"Additional themes, scales, and geoms for ggplot2","archived":false,"fork":false,"pushed_at":"2024-02-14T22:58:14.000Z","size":58822,"stargazers_count":1328,"open_issues_count":13,"forks_count":225,"subscribers_count":60,"default_branch":"main","last_synced_at":"2025-05-06T22:38:09.275Z","etag":null,"topics":["data-visualisation","ggplot2","ggplot2-themes","plot","plotting","theme","visualization"],"latest_commit_sha":null,"homepage":"http://jrnold.github.io/ggthemes/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jrnold.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2012-09-07T00:00:07.000Z","updated_at":"2025-04-27T11:41:28.000Z","dependencies_parsed_at":"2024-01-17T00:17:37.098Z","dependency_job_id":"197f9ee4-a09e-458c-b193-862bd7d17332","html_url":"https://github.com/jrnold/ggthemes","commit_stats":{"total_commits":656,"total_committers":33,"mean_commits":19.87878787878788,"dds":"0.13719512195121952","last_synced_commit":"e6c5872aed9872c1826145301e938fd1f3228eef"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrnold%2Fggthemes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrnold%2Fggthemes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrnold%2Fggthemes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrnold%2Fggthemes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jrnold","download_url":"https://codeload.github.com/jrnold/ggthemes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254129523,"owners_count":22019628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-visualisation","ggplot2","ggplot2-themes","plot","plotting","theme","visualization"],"created_at":"2024-08-03T21:00:52.837Z","updated_at":"2025-05-14T11:11:19.477Z","avatar_url":"https://github.com/jrnold.png","language":"R","funding_links":[],"categories":["R","パッケージ紹介","ggplot"],"sub_categories":["ggthemes","Themes"],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\"\n)\n```\n\n[![R-CMD-check](https://github.com/jrnold/ggthemes/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/jrnold/ggthemes/actions/workflows/R-CMD-check.yaml)\n[![Code Coverage Status](https://codecov.io/gh/jrnold/ggthemes/branch/master/graph/badge.svg)](https://codecov.io/github/jrnold/ggthemes?branch=master)\n[![rstudio mirror downloads](http://cranlogs.r-pkg.org/badges/ggthemes)](https://github.com/metacran/cranlogs.app)\n[![CRAN status](https://www.r-pkg.org/badges/version/ggthemes)](https://CRAN.R-project.org/package=ggthemes)\n[![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)\n\nSome extra geoms, scales, and themes for\n[ggplot](https://ggplot2.tidyverse.org/).\n\n## Install\n\nTo install the stable version from CRAN,\n\n```r\ninstall.packages('ggthemes', dependencies = TRUE)\n```\n\nOr, to install the development version from github, use the\n**devtools** package,\n\n```r\nlibrary(\"devtools\")\ninstall_github(c(\"hadley/ggplot2\", \"jrnold/ggthemes\"))\n```\n\n## How to use\n\nFor a quick tutorial, check out [Rafael Irizarry's book](https://rafalab.github.io/dsbook/ggplot2.html#add-on-packages).\n\n## Examples\n\n```{r}\nlibrary(\"ggplot2\")\nlibrary(\"ggthemes\")\n\nmtcars2 \u003c- within(mtcars, {\n  vs \u003c- factor(vs, labels = c(\"V-shaped\", \"Straight\"))\n  am \u003c- factor(am, labels = c(\"Automatic\", \"Manual\"))\n  cyl  \u003c- factor(cyl)\n  gear \u003c- factor(gear)\n})\n\np1 \u003c- ggplot(mtcars2) +\n  geom_point(aes(x = wt, y = mpg, colour = gear)) +\n  labs(\n    title = \"Fuel economy declines as weight increases\",\n    subtitle = \"(1973-74)\",\n    caption = \"Data from the 1974 Motor Trend US magazine.\",\n    x = \"Weight (1000 lbs)\",\n    y = \"Fuel economy (mpg)\",\n    colour = \"Gears\"\n  )\n```\n\n```{r,theme_calc}\np1 +\n  scale_color_calc() +\n  theme_calc()\n```\n\n```{r,theme_clean}\np1 + theme_clean()\n```\n\n```{r,theme_economist}\np1 + theme_economist() +\n  scale_colour_economist()\n```\n\n```{r,theme_excel}\np1 + theme_excel() +\n  scale_colour_excel()\n```\n\n```{r,theme_excel_new}\np1 + theme_excel_new() +\n  scale_colour_excel_new()\n```\n\n```{r,theme_igray}\np1 + theme_igray()\n```\n\n```{r,theme_par}\np1 + theme_par()\n```\n\n```{r,theme_fivethirtyeight}\np1 + theme_fivethirtyeight()\n```\n\n```{r,theme_few}\np1 + theme_few() +\n  scale_colour_few()\n```\n```{r,theme_solarized}\np1 + theme_solarized() +\n  scale_colour_solarized()\n```\n\n```{r,theme_solarized_dark}\np1 + theme_solarized(light=FALSE) +\n  scale_colour_solarized()\n```\n\n```{r,theme_solid}\np1 + theme_solid()\n```\n\n```{r,theme_stata}\np1 + theme_tufte()\n```\n\n```{r,theme_wsj}\np1 + theme_wsj(base_size = 8) + scale_color_wsj()\n```\n\n```{r,scale_colorblind}\np1 + scale_color_colorblind()\n```\n\n```{r,scale_color_tableau}\np1 + scale_color_tableau()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrnold%2Fggthemes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjrnold%2Fggthemes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrnold%2Fggthemes/lists"}