STAT 451, Day 22 Continued

Visualizing Proportions

Examples from the book

The plots from Chapter 5

  • Pie Chart
  • Donut Chart
  • Stacked Bar Chart
  • Treemap
  • Time Plots
  • Stacked Time Plots

Examples from the book

In Chapter 5 software

R Code

From the Quick-R website.

Scatterplots hexbin graph

library(hexbin)
x <- rnorm(10000); y <- rnorm(10000)
bin <- hexbin(x, y, xbins=50) 
plot(bin, main="Hexagonal Binning")

plot of chunk unnamed-chunk-1

Explore

htmlwidgets

htmlwidgets markdown