Conventions Used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Use the ggplot(df_vanc,aes(x=Vancouver)) + geom_bar() command to obtain the following chart."

A block of code is set as follows:

df_t <- read.csv("data/historical-hourly-weather-data/temperature.csv")ggplot(df_t,aes(x=Vancouver))+geom_histogram()ggplot(df_t,aes(x=Miami))+geom_histogram();

Activity: These are scenario-based activities that will let you practically apply what you've learned over the course of a complete section. They are typically in the context of a real-world problem ...

Get Applied Data Visualization with R and ggplot2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.