0. Elementary shapes
Various functions and packages for drawing.
1. Boxplot
R code and data for New Bedford temperatures
2. Bar chart
a. R code for basic bar chart
b. R code for stacked bar chart
c. R code for grouped bar chart
3. Pie chart
R code of New England population by states
4. Bubble plot
R code of US population by states (selected)
5. Heatmap on the US map by states
R code for heat maps on US map by states
6. Population pyramid
R code for US population (1950 vs 2000)
7. Chernoff faces
R code for US arrest data
8. Mosaic plot
R code for survival statistics on Titanic
9. Hexagon binning plot
R code for bivariate normal data
10. Dendrogram
R code for the Republican vote data
11. PCA plot
R code to produce PCA plot from US Arrests data.
12. Word cloud
R code for data randomly sampled from {1,2,...,100}.