Guideline for Lab 4:
a) 30 points for Problem 1, and 70 points for Problem 2
b) Problem1:
- Please provide a short description of the data (10 points),
- a screen shot or image of the plot used (10 points),
- comments on nice or desirable features about of this visualization
c) Problem 2:
- Your R code (this lab requires you to use R programming, and work finished with any other language is not accepted). 20 points
- Plots (bubble chart for US population by states for year 2000 and 2010, heatmap of ratio of changes by states). 30 points (10 points for each of the 3 plots)
- The data used in this lab (including population in 2000 and 2010 by states, location of States). 10 points
- A brief description on how you did the work (including where you obtained the data). 10 points
1. Data visualization
Find an example of data visualization from a recent news/article. Please provide a short description of the data, a screen shot of the figure as well as your comments on the visualization.
2. US population by states
1) Find US population by states according to census 2000 and census 2010, respectively.
(A good source of information is the Wiki page)
2) Find locations of US states in terms of latitude and longitude.
(An example is this, but I didn't check its validity. You can find them by Google search)
3) Draw bubble plot of US population by states such that the size of the bubble is proportional to the population
(our discussion in class used 5 states). Mark the states name by their two-letter abbreviations , for example,
Massachusetts by MA. Do this separately for year 2000 and 2010.
4) Calculate the ratio of changes in populations by states. Draw heat map of the ratio by states.