Statistics and Statistical Programming (Winter 2021)/Problem set 7
From CommunityData
PC8. Create a bivariate visualization
Visualize two variables in the Problem Set #2 dataset using ggplot2
and the geom_point()
function to produce a scatterplot of x
on the x-axis and y
on the y-axis. Optional bonus: Incorporate any of the other variables on other dimensions (e.g., color, shape, and/or size are all good options). If you run into any issues plotting these dimensions, revisit the examples in the tutorial and the ggplot2 documentation and consider that ggplot2 can be very picky about the classes of objects.