Choosing Charts
Use bars to compare categories, lines for trends, histograms for distributions, scatter plots for relationships and boxplots to compare spread. Keep titles and labels clear.
Example
x <- c(3, 5, 5, 7, 8, 8, 8, 10)
hist(x, breaks = 4, col = "grey")
boxplot(x)Exercise
Chart for a trend over time.
Use a chart
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.