Update communicate-plots.Rmd (#986)

* Update communicate-plots.Rmd

Updated the ggplot2 book link.

* Fix URLs

Co-authored-by: Mine Çetinkaya-Rundel <cetinkaya.mine@gmail.com>
This commit is contained in:
Y. Yu 2022-05-07 17:58:06 -04:00 committed by GitHub
parent c486a57061
commit d849490dd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -15,7 +15,7 @@ In this chapter, you'll learn some of the tools that ggplot2 provides to do so.
This chapter focuses on the tools you need to create good graphics.
I assume that you know what you want, and just need to know how to do it.
For that reason, I highly recommend pairing this chapter with a good general visualisation book.
I particularly like [*The Truthful Art*](https://amzn.com/0321934075), by Albert Cairo.
I particularly like [*The Truthful Art*](https://www.amazon.com/gp/product/0321934075/), by Albert Cairo.
It doesn't teach the mechanics of creating visualisations, but instead focuses on what you need to think about in order to create effective graphics.
### Prerequisites
@ -596,7 +596,7 @@ The grey background gives the plot a similar typographic colour to the text, ens
Finally, the grey background creates a continuous field of colour which ensures that the plot is perceived as a single visual entity.
It's also possible to control individual components of each theme, like the size and colour of the font used for the y axis.
Unfortunately, this level of detail is outside the scope of this book, so you'll need to read the [ggplot2 book](https://amzn.com/331924275X) for the full details.
Unfortunately, this level of detail is outside the scope of this book, so you'll need to read the [ggplot2 book](https://ggplot2-book.org/) for the full details.
You can also create your own themes, if you are trying to match a particular corporate or journal style.
## Saving your plots
@ -683,10 +683,9 @@ The chunk label is used to generate the file name of the graphic on disk, so nam
## Learning more
The absolute best place to learn more is the ggplot2 book: [*ggplot2: elegant graphics for data analysis*](https://ggplot2-book.org).
The absolute best place to learn more is the ggplot2 book: [*ggplot2: Elegant graphics for data analysis*](https://ggplot2-book.org/).
It goes into much more depth about the underlying theory, and has many more examples of how to combine the individual pieces to solve practical problems.
Another great resource is the ggplot2 extensions gallery <https://exts.ggplot2.tidyverse.org/gallery/>.
This site lists many of the packages that extend ggplot2 with new geoms and scales.
It's a great place to start if you're trying to do something that seems hard with ggplot2.