From the course: Data Visualization in R with ggplot2 (2018)
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Working with axes
From the course: Data Visualization in R with ggplot2 (2018)
Working with axes
- [Instructor] In addition to modifying a plot's background, you'll often find yourself needing to modify the axes of a chart to better visualize the data. The axes of a plot provide an important frame of reference for the viewer, informing them what information is presented on the chart and the magnitude of that information. For example, by quickly looking at this chart, I can see that it is showing me the count of something by region and that the south region is more than twice as big as the west region with over 400 things in the south region and less than 200 in the west. Now this chart could be improved. For example, what are these things that we're counting? The word count that appears on the axis label doesn't really provide me with much information. Most of the plots that we create are two-dimensional plots that have an x-axis and a y-axis. The x-axis runs from left to right and it shows horizontal position. In this example, the x-axis is showing us the regions that each…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.