Spelman College WiSTEM
7/19/23
The purpose of a graph
is to communicate a comparison.
We can design graphs both to highlight a data comparison, and to communicate that comparison clearly and attractively.
You can also use annotate()
to place a ggplot annotation layer on top of your data layers. You will need to position the xy coordinates manually, by specifying constants.
Please do not get too crazy with plot colors! 😅 Prioritize readability for grid lines, axis tick labels, etc.
If you are presenting slides on a projector, you may adjust plot colors to make them darker to combat wash-out.
First, you have to use the sysfonts
package to manually add the Google fonts you want to use on your graphs.
sysfonts
is not a default package, so you will need to install it if it hasn’t already been installed in your project.
“The x-axis represents the number of survey respondents from each country.”
“The y-axis shows the top 10 most-represented countries of residence for survey respondents.”
“The length of each bar shows the number of respondents from that country.”
“You can see that over 500,000 respondents come from the USA. That’s more than half of all the respondents in the dataset.”
“This graph shows us that any patterns we see in this dataset may be driven by the American respondents.”
Guide to presenting graphs - Monica Thieu