Data Visualization Assignment 1
Due Date: 3rd December 2017
1. For top ten parties compute the following metrics for the year 2009
a) Total number of contestants
b) Total of number of winning seats
c) Avg. %of votes
d) Identify top ten candidates with highest %margin of votes for the year 2009
2. Identify year wise percentage of male and female candidates?
3. Create a new column by binning the Runs column using the following ranges and plot the frequency
count of ranges
0-25, 26-50, 51-75, 76-100, 100+
4. Consider the top ten players by total runs and compute and visualize the number of centuries across
years (use facet_grid or facet_wrap)
5. Create a scatter plot with the following details
X axis contains number of retweets
Y axis contains number of likes
Color represents device from which it was tweeted