Statistics 4868/6610 Data Visualization
Prof. Eric A. Suess
1/20/2016
Lets start visualizing data!
Software.
The more visualization tools you know how to use and take advantage of, the less likely you'll get stuck not knowing what to do with a dataset and the more likely you can make a graphic that matches your vision.
Out-of-the-Box Visualization
Programming
Illustration
Mapping
To have an excellent example of a bubble plot, wordcloud, and a map posted online.
Try a software package to modify a graph using that software.
Graduate students make an animation using shiny.
We start by looking at various point-and-click packages.
Lots of great graphs you can make.
Can make maps.
Can make Bubble plots.
Automatically suggests plots.
Lots of standard graphs.
Can make a bubble plot.
Was a nice collaborative website. Could make a wordcloud.
Sorry Many Eyes has been closed.
What do you think about tableau?
Check out there website.
Very nice chart builder.
Aside: Check out the Automatic Statistician
Next we will discuss programming Tools.
Python is a very flexible programming language that can be used to interact with data on the internet easily.
Check out
This is a programming language used for creating animated and interactive graphics.
A graphical approach to visualization. Protovis development has ended. The developers are now working on D3.js.
The misoproject looks to be a next step.
R is an excellent programming environment for developing visualizations. The basic graphics are very configurable. There are many libraries that add additional graphics.
# Example of labeling points
attach(mtcars)
plot(wt, mpg, main="Milage vs. Car Weight",
xlab="Weight", ylab="Mileage", pch=18,
col="blue")
text(wt, mpg, row.names(mtcars), cex=0.6,
pos=4, col="red")
# 4 figures arranged in 2 rows and 2 columns
attach(mtcars)
par(mfrow=c(2,2))
plot(wt,mpg, main="Scatterplot of wt vs. mpg")
plot(wt,disp, main="Scatterplot of wt
vs disp")
hist(wt, main="Histogram of wt")
boxplot(wt, main="Boxplot of wt")
Try all of the code on this webpage from Quick R.
| graph_type | description | formula examples |
|---|---|---|
| barchart | bar chart | x ~ A or A ~ x |
| bwplot | boxplot | x ~ A or A ~ x |
| cloud | 3D scatterplot | z ~ x*y | A |
| contourplot | 3D contour plot | z ~ x*y |
| densityplot | kernel density plot | ~x | A*B |
| dotplot | dotplot | ~ x |
| histogram | histogram | ~ x |
| graph_type | description | formula examples |
|---|---|---|
| levelplot | 3D level plot | z ~ y*x |
| parallel | parallel coordinates plot | data frame |
| splom | scatterplot matrix | data frame |
| stripplot | strip plots | A ~ x or x ~ A |
| xyplot | scatterplot | y ~ x | A |
| wireframe | 3D wireframe graph | z ~ y*x |