Posts

Showing posts from March, 2018

Module # 11 Edward R. Tufte - Modern Pioneer in the Field of Data Visualization

Image
    This week we learned of Edward Tufte and followed his instructions on how to create a dot-dash plot. I chose to create one in ggplot2 and it turned out pretty well. Once I installed all the packages and ran them in the background, I was able to plug in the code and run it smoothly. Below is an image depicting the code, the packages running in the background, and the final design.

Module # 10 Time Series and Trends Through Visualization Lens

Image
   This week we worked with coding in R to create a time series graph. We were given multiple examples and we could either replicate the examples or create our own. Since I am still getting used to how R works, I just decided to copy the code from the very first example.  Here is the code for reference:  >hotdogs <- read_csv("http://datasets.flowingdata.com/hot-dog-contest-winners.csv") >head(hotdogs) >(library("ggplot2")) >colors <- ifelse(hotdogs$New.record == 1, "darkred", "grey") barplot(hotdogs$Dogs.eaten, names.arg = hotdogs$Year, col=colors, border=NA, main = "Nathan's Hot Dog Eating Contest Results, 1980-2010",  xlab="Year", ylab="Hot dogs and buns (HDBs) eaten")     The reason I chose this example was because I feel it represented what a time series graph is supposed to be very well. The red represents a year when a new record was put into place and it shows the progression of t...

Module 8 - Correlation and Analysis

Image
    The data I chose to represent was whether or not there was a correlation between the height of men and their self esteem. The height was measured in inches and the self esteem was based on an average of 10 on a 1-to-5 grading scale determined by the person being interviewed. Following Fews' advice on creating the graph, I determined to follow the principle of making the graph have distinguished colors to give it more of a visual appeal.     As you can see, from this specific survey of 20 males, there seems to be a correlation between the height of a man and his self esteem. As the height of a male increases, so does the rating of self esteem. Now this may not be the case if a larger survey was taken, but this is just a visual representation of the data at hand.