Many people are aware of the powerful visualization features available in ggplot2, but when it comes to interactive visualizations googleVis is a pretty cool library provided by Google. The only downside is you would need to have an internet connection and the interactive visualization will be displayed on a browser, though Google is not going store your data.
I have found this kind of interactive visualization useful while volunteering for data analysis for NGO Manthan (Manthan Adhyayan Kendra). I have generated multiple kinds of interactive and intuitive visualizations based on the power generation and fly ash generation data provided by the organization. The visualization shown below uses the daily planned and actual power generation data (metric: Mega Watts), capacity (metric: Million Units) for central, state and private power plants across different states in India. A small piece of R code gives this beautiful visualization :
I know this visualization shows too much information to digest easily, but I think that's what is unique about it. You can display so much data in just a single visualization ! To begin with, you can choose the X and Y axis variables from a plethora of variables in your data, along with having the choice of keeping the scale as log or linear. You can choose to display other variables as color and size of bubbles in the scatter plot. You even have a play button to display change in power generation over a period of time through motion of the bubbles, with the option of carving its trail. All of this can be seen as a bar graph or a line graph. This to me seems like the Big Mac of visualizations!
Did you know that a 2 line code can do this for you ?
library(googleVis)
plot(gvisMotionChart(Fruits, idvar="Fruit", timevar="Year"))
Don't believe me ? Check it out right now !
Please post your comments/suggestions about this post below.
I have found this kind of interactive visualization useful while volunteering for data analysis for NGO Manthan (Manthan Adhyayan Kendra). I have generated multiple kinds of interactive and intuitive visualizations based on the power generation and fly ash generation data provided by the organization. The visualization shown below uses the daily planned and actual power generation data (metric: Mega Watts), capacity (metric: Million Units) for central, state and private power plants across different states in India. A small piece of R code gives this beautiful visualization :
Capacity vs Actual Power Generation |
I know this visualization shows too much information to digest easily, but I think that's what is unique about it. You can display so much data in just a single visualization ! To begin with, you can choose the X and Y axis variables from a plethora of variables in your data, along with having the choice of keeping the scale as log or linear. You can choose to display other variables as color and size of bubbles in the scatter plot. You even have a play button to display change in power generation over a period of time through motion of the bubbles, with the option of carving its trail. All of this can be seen as a bar graph or a line graph. This to me seems like the Big Mac of visualizations!
Did you know that a 2 line code can do this for you ?
library(googleVis)
plot(gvisMotionChart(Fruits, idvar="Fruit", timevar="Year"))
Don't believe me ? Check it out right now !
Please post your comments/suggestions about this post below.