Learn R graphics

How this course works, what the workbench can do, and the chapter list.

This is a 21-page course for the Swiftener R Playground. Open this tab, wait until WebR is ready, paste each exercise, press Ctrl+Enter (or Cmd+Enter). Base R only. Plots appear in the Plot pane.

Goal

Finish every chapter by running the copy-paste blocks in the workbench. The last chapter is a small kiosk story you can reuse.

How to take the course

  1. Keep this tutorial tab and the R Playground side by side.
  2. Copy an exercise, paste it as the whole editor, then run it.
  3. Always print a short confirmation. Figures appear in the Plot pane. Base R only — no install.packages, no ggplot2.

City names in the examples are Nairobi, Mombasa, Kisumu, Nakuru, and Eldoret.

Sample files

  • kiosk.csv

Chapter list