Generating a dot chart in R to show the ranking of states with the worst drivers in USA.
Debt to GDP Ratio – R and SVG
This is a quick tutorial on how we can manipulate a Scalable Vector Graphic (SVG) in R. R does have the ability to save plots, maps and graphics in various formats (including SVG) but this post is more about how you can quickly generate a very effective graphic using R and an external SVG file. The most obvious question is why not use R to do everything. Well R is great and does everything so well it does lack some power when it come to interactivity. Though i will not cover interactivity in this post i will show you how easy it is to generate effect using SVG.
Static, multiple, interactive Part II
We will learn to generate multiple plots in r as well as generate a custom legend. This post is in continuation of my prior post with the same name.
links-11/8/2016- election day
1) Tree maps art 2) Lost cause - USA Election
Reverse Geocode using Google API and XML package in R – PART 1
Almost all the times we com across data that is not in the format we require it to be. Sometimes it has some information we need and other times we require additional information that can be retrieved using the data at hand. In the current tutorial we will explore the issue related to the case where data is present but we need some more information.
Reverse Geocode using Google API and XML package in R – PART 3
So this is it !!! In the current tutorial I will show you my entire code that i used to grab the data from web as well as learn to parse the XML data. This tutorial will be a bit longer but since you have already come to this point lets just get done with it.
pyramid plot
In the current post i will describe one of the easier ways to generate a pyramid plot. The first time i came across a pyramid plot was on New York Times website. The NY times visualization used data from the American Cancer society to show new cases of cancer in 2007. The visualization can be viewed here. I have also seen census bureau use pyramid plots to display distribution of population by age. Flowing data website used an animated pyramid plot to show prevalence of obesity in USA here
Static, multiple, to interactive – part I
This post has been inspired by an articles i read online by Nathan Yau describing using R vs D3. Nathan Yau has written a small article on what technology does he use to generate a static vs an interactive visualization.