Wait until WebR is ready. Base R only. Figures appear in the Plot pane.
Goal
Run every block and confirm the chart is visible.
cities <- c("Nairobi", "Mombasa", "Kisumu", "Nakuru", "Eldoret")
units <- c(21, 15, 15, 18, 12)
barplot(units, names.arg = cities, col = "#0f6b52", main = "Kiosk units")
print("bar drawn")plot(1:4, c(48, 55, 92, 150), type = "b", xlab = "month", ylab = "mm", main = "Nairobi rain")
print("line drawn")Pitfall
No install.packages. No ggplot2.