Design and themes

Author

Jeffrey R. Stevens

Published

April 5, 2023

  1. Using the mtcars data, create a scatterplot of the fuel efficiency as a function of weight with color based on the number of cylinders.
# >
  1. Repeat the scatterplot but with classic, bw, and dark themes.
# >
  1. Repeat the scatterplot from #1 but with no minor grid lines and no legend.
# >
  1. Repeat the scatterplot from #1 but no minor grid lines for the x-axis (keep them for the y-axis) and move the legend inside the plot area and remove the legend title.
# >
  1. Repeat the scatterplot from #1 but make the major y-axis grid lines black dashed lines and change the text font to 12 point Times font.
# >
  1. Create a version of scatterplot #1 that minimizes the data-ink ratio by reducing non-data-ink.
# >