https://github.com/allisonhorst/rice-data-viz
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 1 committers (100.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.0%) to scientific vocabulary
Last synced: 9 months ago
·
JSON representation
Repository
Basic Info
- Host: GitHub
- Owner: allisonhorst
- Language: HTML
- Default Branch: gh-pages
- Size: 36.8 MB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 14
- Open Issues: 0
- Releases: 0
Created over 5 years ago
· Last pushed over 5 years ago
Metadata Files
Readme
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
# Advanced Data Visualization with `ggplot2`
## Rice University Workshop (March 2021)
by Allison Horst
### Workshop guide
Available here: https://allisonhorst.github.io/rice-data-viz/
### Workshop outline
- Conceptual hierarchy of data viz
- `ggplot2` basics review
- Aesthetic mapping
- Themes
- Labels
- Facets (& facet grids vs facet wraps)
- Getting things in order (e.g. fct_reorder)
- Advanced customization in `ggplot2`
- `scales` for thoughtful breaks and labels
- ...and color schemes (+ `paletteer`!)
- In the weeds of themes (gridlines, panel colors, margins, etc.)
- Direct annotation (as an alternative to legends)
- Repulsive labels (e.g. `ggrepel`)
- Highlighting for clarity (e.g. with `gghighlight`)
- Compound figures with `patchwork`
- A few new graph types to consider
- Marginal plot
- Beeswarm plots with `ggbeeswarm`
- Heatmaps with `geom_tile()`
- A map! in `ggplot2`
- Export & save your graphs
- Keep learning
### Workshop prep:
There are two ways you can get the workshop materials:
1. Create a free [RStudio Cloud](https://rstudio.cloud) account, and access the materials here: https://rstudio.cloud/project/2256278. **If you use this option, make sure to click "Make permanent copy" or your work will be deleted when you close the project.**
2. Fork & clone this repo to work locally.
### Required packages:
Make sure you have recent versions of the following packages installed for the workshop:
#### General use packages:
- `tidyverse`
- `here`
- `janitor`
#### Specifically for plots:
- `patchwork`
- `ggrepel`
- `gghighlight`
- `paletteer`
- `ggExtra`
- `ggbeeswarm`
#### Spatial data simplified:
- `sf`
#### And for another dataset we'll explore:
- `gapminder`
Owner
- Name: Allison Horst
- Login: allisonhorst
- Kind: user
- Company: Observable
- Website: https://www.allisonhorst.com/
- Twitter: allison_horst
- Repositories: 183
- Profile: https://github.com/allisonhorst
Teaching | Data Science | Art | Science Communication
GitHub Events
Total
Last Year
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Allison Horst | a****t@u****u | 12 |
Committer Domains (Top 20 + Academic)
ucsb.edu: 1
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0