# Visualizing process data

## Learning outcomes

• Understand when it is appropriate to use scatter plots, bar plots, pie charts (hint: almost never), and even tables.
• Learn an interesting, potentially new plot: the box plot, to summarize and compare data.
• How to effectively visualize up to 5 dimensions on a 2-D plot, as shown in a video by Hans Rosling.
• Know the meaning of words like sparklines, data density, and chart junk.

## Software codes for this section

### Code to show how to superimpose plots

# Run this code line-by-line (copy & paste) to understand the demonstration

plot(data$density1) # Connect the dots plot(data$density1, type='b')
plot(data$density2, type='b', col="red") # Superimpose them? plot(data$density1, type='b', col="blue")
lines(data$density2, type='b', col="red") # where's density2 ? # Superimpose them: limits plot(data$density1, type='b', col="blue", ylim=c(10, 45))
lines(data\$density2, type='b', col="red")  # now density2 shows up