Visualizing Proportions

Statistics 4868/6610 Data Visualization

Prof. Eric A. Suess

2/22/2016

Introduction

Today in the computer lab we will go over some examples from Chapter 5.

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

Activities 1-3

The first three Activities are about using Protovis and D3.js to make plots that can be viewed through a web browser.

Activity 4

The fourth Activity is about Color Brewer.

Activities 5-7

The remaining Activities are about making plots in Tableau that are close to the plots showing the book. Try your best to make the plots, they might not look the same as what is presented in the book.

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