<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Pretty Graph Blog</title>
	<atom:link href="http://www.prettygraph.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.prettygraph.com/blog</link>
	<description>Articles and tutorials to help you make better graphs easily</description>
	<lastBuildDate>Sat, 24 Dec 2011 01:06:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Try Pretty Graph without signing up and buy it if you like it</title>
		<link>http://www.prettygraph.com/blog/try-pretty-graph-without-signing-up-and-buy-it-if-you-like-it/</link>
		<comments>http://www.prettygraph.com/blog/try-pretty-graph-without-signing-up-and-buy-it-if-you-like-it/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 00:26:28 +0000</pubDate>
		<dc:creator>Hrishi Mittal</dc:creator>
				<category><![CDATA[Pretty Graph]]></category>
		<category><![CDATA[pricing]]></category>

		<guid isPermaLink="false">http://www.prettygraph.com/blog/?p=352</guid>
		<description><![CDATA[I&#8217;ve been meaning to make this change for a long time and it&#8217;s finally here! New users can now try out pretty graph without even having to sign up. Just go straight to https://app.prettygraph.com and you can give it a go without having to create yet another account for yet another website The no-signup free [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been meaning to make this change for a long time and it&#8217;s finally here!</p>
<p>New users can now <a href="https://app.prettygraph.com">try out pretty graph</a> without even having to sign up. Just go straight to <a href="https://app.prettygraph.com">https://app.prettygraph.com</a> and you can give it a go without having to create yet another account for yet another website <img src='http://www.prettygraph.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>The no-signup free version of the application is limited in some ways. For example, you cannot download PDF versions of the graph or save your uploaded data files. If you wish to use these functionalities, you need to <a href="https://prettygraph.com/buy.html">buy a Basic Account</a>. Currently, you can buy the full-blown version in three flavours:</p>
<p>(a) <a href="https://app.prettygraph.com/signup?plan=basic_weekpass">try it out for a week just for $5</a></p>
<p>(b) <a href="https://app.prettygraph.com/signup?plan=basic_monthly">buy a monthly subscription for $9 per month only (charged recurringly)</a></p>
<p>(c) <a href="https://app.prettygraph.com/signup?plan=basic_annual">buy an annual subscription for $49 per year (yes that&#8217;s less than 6 monthly subscriptions!)</a></p>
<p>If you are one of our early beta users, well firstly, thank you so much for your support. You get to use the full basic version of the application until the end of 2010 for free. If you still find it useful, you are welcome to purchase a subscription. Meanwhile, keep those feature requests and bug reports coming.</p>
<p>Please pass on the free trial link <a href="https://app.prettygraph.com">https://app.prettygraph.com</a> to as many people as you think would find it useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prettygraph.com/blog/try-pretty-graph-without-signing-up-and-buy-it-if-you-like-it/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Heatmaps added to Pretty Graph</title>
		<link>http://www.prettygraph.com/blog/heatmaps-added-to-pretty-graph/</link>
		<comments>http://www.prettygraph.com/blog/heatmaps-added-to-pretty-graph/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 00:08:08 +0000</pubDate>
		<dc:creator>Hrishi Mittal</dc:creator>
				<category><![CDATA[Graphs]]></category>
		<category><![CDATA[Pretty Graph]]></category>
		<category><![CDATA[features]]></category>
		<category><![CDATA[heatmaps]]></category>

		<guid isPermaLink="false">http://www.prettygraph.com/blog/?p=331</guid>
		<description><![CDATA[After a lot of user requests, heatmaps have been finally added to Pretty Graph. You can now visualize multiple variables in a dataset using the heatmap option in our web-based data visualization application. An example is a correlation heatmap as shown below: (Click to see the full graph with the scale) Heatmaps are also a [...]]]></description>
			<content:encoded><![CDATA[<p>After a lot of user requests, heatmaps have been finally added to Pretty Graph. You can now visualize multiple variables in a dataset using the heatmap option in our <a href="http://prettygraph.com/learn.html">web-based data visualization application</a>. An example is a correlation heatmap as shown below:</p>
<p><a href="http://www.prettygraph.com/blog/wp-content/uploads/2010/09/plot.png"><img class="alignnone size-full wp-image-337" title="Genes Correlation Matrix" src="http://www.prettygraph.com/blog/wp-content/uploads/2010/09/plot.png" alt="" width="791" height="630" /></a></p>
<p>(Click to see the full graph with the scale)</p>
<p>Heatmaps are also a great way to visualize trends or hotspots in a large datasets, for example monthly sales data across various countries.</p>
<p>Currently, the heatmaps functionality works like this:</p>
<p>1. Load a data file and select heatmap as the graph type from the thumbnails on the right hand side control panel.</p>
<p>2. Choose a column containing row names (denoted by &#8220;Rows&#8221; in the control panel) and choose the columns of data you want to visualize.</p>
<p>3. Choose one of the many color schemes available (reds, blues, greens, purples etc. based on <a href="http://cran.r-project.org/web/packages/RColorBrewer/index.html">RColorBrewer</a>).</p>
<p>4. The breakpoints between colors are chosen automatically (6 equally spaced values from min to max), but you can specify up to 10 custom breakpoints as comma separated values in the Breaks field.</p>
<p>Below is a screenshot of the heatmaps controls in Pretty Graph (click to enlarge):</p>
<p><a href="http://www.prettygraph.com/blog/wp-content/uploads/2010/09/heatmap_screenshot.png"><img class="alignnone size-medium wp-image-344" title="Heatmaps in Pretty Graph" src="http://www.prettygraph.com/blog/wp-content/uploads/2010/09/heatmap_screenshot-300x147.png" alt="" width="300" height="147" /></a></p>
<p>What are you waiting for? <a href="https://app.prettygraph.com">Give it a try</a> and tell us what you think. Please tell us what you like and dislike about it and what you would like us to add.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prettygraph.com/blog/heatmaps-added-to-pretty-graph/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Some Ad Stats for Bing, Google and Yahoo</title>
		<link>http://www.prettygraph.com/blog/some-ad-stats-for-bing-google-and-yahoo/</link>
		<comments>http://www.prettygraph.com/blog/some-ad-stats-for-bing-google-and-yahoo/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 08:48:43 +0000</pubDate>
		<dc:creator>Hrishi Mittal</dc:creator>
				<category><![CDATA[Graphs]]></category>

		<guid isPermaLink="false">http://www.prettygraph.com/blog/?p=317</guid>
		<description><![CDATA[Found this story about Bing&#8217;s Growth on Hacker News &#8211; Bing Continues Growth, Ad Impressions &#038; Clicks Way Up: Report. The graphs in that are not very well done. Breaking up three trends for the same time period along the X axis makes no sense. I made the following improvements in Pretty Graph. Needs some [...]]]></description>
			<content:encoded><![CDATA[<p>Found this story about Bing&#8217;s Growth on <a href="http://news.ycombinator.com/item?id=1513659">Hacker News</a> &#8211; <a href="http://searchengineland.com/bing-ad-impressions-clicks-way-up-report-46336">Bing Continues Growth, Ad Impressions &#038; Clicks Way Up: Report</a>.</p>
<p>The graphs in that are not very well done. Breaking up three trends for the same time period along the X axis makes no sense. I made the following improvements in Pretty Graph. Needs some more polish and boy I can&#8217;t wait to release the fully functional multiple layout and ability to save graph configurations.</p>
<p><strong>Edit</strong>: I forgot to add &#8211; the bigger problem with the graphs is that they are showing <strong>percentage changes, NOT absolute numbers</strong>, which is why Bing looks so good.</p>
<p><a href="http://www.prettygraph.com/blog/wp-content/uploads/2010/07/ad_impressions1.png"><img src="http://www.prettygraph.com/blog/wp-content/uploads/2010/07/ad_impressions1.png" alt="" title="ad_impressions" width="600" height="404" class="alignnone size-full wp-image-318" /></a></p>
<p><a href="http://www.prettygraph.com/blog/wp-content/uploads/2010/07/ad_clicks1.png"><img src="http://www.prettygraph.com/blog/wp-content/uploads/2010/07/ad_clicks1.png" alt="" title="ad_clicks" width="603" height="404" class="alignnone size-full wp-image-319" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.prettygraph.com/blog/some-ad-stats-for-bing-google-and-yahoo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Video: How to use Pretty Graph (the new updated UI)</title>
		<link>http://www.prettygraph.com/blog/video-how-to-use-pretty-graph-the-new-updated-ui/</link>
		<comments>http://www.prettygraph.com/blog/video-how-to-use-pretty-graph-the-new-updated-ui/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 22:54:22 +0000</pubDate>
		<dc:creator>Hrishi Mittal</dc:creator>
				<category><![CDATA[Pretty Graph]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[prettygraph]]></category>
		<category><![CDATA[screencast]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.prettygraph.com/blog/?p=304</guid>
		<description><![CDATA[Here&#8217;s a new video showing you how to use Pretty Graph. It features the new updated user interface with a lot more polish and new features. It&#8217;s a short one (under 3 minutes) and you will learn how to make a simple graph, download it as a PDF and email it too! Check it out [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a new video showing you how to use Pretty Graph. It features the new updated user interface with a lot more polish and new features. It&#8217;s a short one (under 3 minutes) and you will learn how to make a simple graph, download it as a PDF and email it too! Check it out and feel free to share.</p>
<p><object width="601" height="338"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=13270669&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=ff9933&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=13270669&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=ff9933&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="601" height="338"></embed></object></p>
<p><a href="http://vimeo.com/13270669">How to use Pretty Graph</a> from <a href="http://vimeo.com/prettygraph">Pretty Graph</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prettygraph.com/blog/video-how-to-use-pretty-graph-the-new-updated-ui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting graph margins in R using the par() function and lots of cow milk</title>
		<link>http://www.prettygraph.com/blog/setting-graph-margins-in-r-using-the-par-function-and-lots-of-cow-milk/</link>
		<comments>http://www.prettygraph.com/blog/setting-graph-margins-in-r-using-the-par-function-and-lots-of-cow-milk/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 13:27:50 +0000</pubDate>
		<dc:creator>Hrishi Mittal</dc:creator>
				<category><![CDATA[Graphs]]></category>
		<category><![CDATA[R]]></category>

		<guid isPermaLink="false">http://www.prettygraph.com/blog/?p=258</guid>
		<description><![CDATA[It is fairly straightforward to set the margins of a graph in R by calling the par() function with the mar (for margin!) argument. For example, par(mar=c(5.1,4.1,4.1,2.1) sets the bottom, left, top and right margins respectively of the plot region in number of lines of text. Another way is by specifying the margins in inches [...]]]></description>
			<content:encoded><![CDATA[<p>It is fairly straightforward to set the margins of a graph in R by calling the par() function with the mar (for margin!) argument. For example,</p>
<p><strong>par(mar=c(5.1,4.1,4.1,2.1)<br />
</strong></p>
<p>sets the bottom, left, top and right margins respectively of the plot region in number of lines of text. </p>
<p>Another way is by specifying the margins in inches using the mai argument:</p>
<p><strong>par(mai=c(1.02,0.82,0.82,0.42))<br />
</strong></p>
<p>The numbers used above are the default margin settings in R. You can verify this by firing up the R prompt and typing par(&#8220;mar&#8221;) or par(&#8220;mai&#8221;). You should get back a vector with the above values. The bottom, left and top margins are the largest because that&#8217;s where annotations and titles are most likely to be placed.</p>
<p>Since we can specify margins both in terms of lines of text and inches, let&#8217;s find out how high one line of text is by default:</p>
<p><strong>par(&#8220;mai&#8221;)/par(&#8220;mar&#8221;)<br />
[1] 0.2 0.2 0.2 0.2<br />
</strong></p>
<p>0.2 inches!</p>
<p>There are ways to change this line height but that&#8217;s a useful number to keep in mind.</p>
<p><iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS2=1&#038;nou=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=pretgrap-20&#038;o=1&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;asins=158488486X" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></p>
<p>The default size of the figure region is approximately 7 inches wide by 7 inches high. You can verify this by typing par(&#8220;fin&#8221;) at the R prompt. So, by default the figure is 35 lines high and wide. One way to verify this is by trying to run the following code:</p>
<p><strong>par(mar=c(35,35,0,0))<br />
plot(1:10)</strong></p>
<p>What happens? We get an error saying &#8220;figure margins too large&#8221;. That was bound to happen because we used up all of the figure region in margins and left no space for the plot to be drawn! You are probably never going to set such large margins, but in my experience errors like that occur when I&#8217;m working with multiple plot layouts (using the mfrow argument &#8211; I might write a post about that some time).</p>
<p>Margin lines are numbered starting from 0. We already know the number of margin lines from par(&#8220;mar&#8221;) but let&#8217;s make a graph to illustrate this point and see how the margin lines are numbered:</p>
<p><strong>plot(1:10,ann=FALSE,type=&#8221;n&#8221;,xaxt=&#8221;n&#8221;,yaxt=&#8221;n&#8221;)<br />
for(j in 1:4) for(i in 0:10) mtext(as.character(i),side=j,line=i)<br />
</strong></p>
<p><a href="http://www.prettygraph.com/blog/wp-content/uploads/2010/06/margins.png"><img src="http://www.prettygraph.com/blog/wp-content/uploads/2010/06/margins.png" alt="" title="margins" width="480" height="480" class="alignnone size-full wp-image-263" /></a></p>
<p>In the above example, we used the mtext() function (which as the name suggests places text in the margins) to label the margin lines.</p>
<p>The mgp argument of the par() function is a vector of 3 values which specify the margin line for the axis title, axis labels and axis line. The default value of mgp is c(3,1,0), which means that the axis title is drawn in the fourth line of the margin starting from the plot region, the axis labels are drawn in the second line and the axis line itself is the first line.</p>
<p>Sometimes the axis labels may be very long and overlap with the axis title (for example, large numbers in scientific notation on the y axis). To overcome this we can use par() to first increase the left margin and then use mgp to set the axis title line. Note that using mgp applies the same set of margin values to axes on all four sides. Alternatively, we can suppress the drawing of the default axis label and use mtext() function specifying the line argument to a value higher than default. Let&#8217;s look at an interesting example to try this out. </p>
<p>Recently, there was a blog post showing some interesting data about the <a href="http://www.wisconsinwatch.org/2010/05/06/chart-wisconsins-ever-more-efficient-milk-industry/">milk production powers of Wisconsin&#8217;s super-efficient cows</a>. So, let&#8217;s pick up that data and plot the total milk production for the last few decades.</p>
<p><strong><br />
cows<-read.csv("http://public.tableausoftware.com/vizql028/export/sessions/d87316bf-0:11/views/Dairycowsandmilkproduction19242009_156022745?format=text/csv&#038;")</p>
<p>#This bit of code is to remove the commas in numerical fields in the original dataset. I don't know of any automatic ways to do this in R.<br />
for (i in 1:ncol(cows)){<br />
if(length(grep(",",cows[[i]]))>0)<br />
  cows[[i]] <- as.numeric(gsub(",", "", cows[[i]]))<br />
}</p>
<p>plot(cows$Total.milk.production~cows$Year,las=1,xlab="Year", ylab="Total Milk Production (in pounds?)")<br />
</strong></p>
<p><a href="http://www.prettygraph.com/blog/wp-content/uploads/2010/06/cows11.png"><img src="http://www.prettygraph.com/blog/wp-content/uploads/2010/06/cows11.png" alt="" title="cows1" width="480" height="480" class="alignnone size-full wp-image-274" /></a></p>
<p>Now, you may argue that showing cow milk production in scientific (E) notation is a bit too nerdy, but I think it&#8217;s a good enough example here. The Y axis title overlaps the axis labels, making the graph hard to read and a bit ugly. So, let&#8217;s fix it by increasing the left margin using mar and placing the axis title in a higher margin line using mgp:</p>
<p><strong><br />
par(mar=c(5,6,4,2)+0.1,mgp=c(5,1,0))<br />
plot(cows$Total.milk.production~cows$Year,las=1,xlab=&#8221;Year&#8221;, ylab=&#8221;Total Milk Production (in pounds?)&#8221;)<br />
</strong></p>
<p><a href="http://www.prettygraph.com/blog/wp-content/uploads/2010/06/cows22.png"><img src="http://www.prettygraph.com/blog/wp-content/uploads/2010/06/cows22.png" alt="" title="cows2" width="480" height="480" class="alignnone size-full wp-image-275" /></a></p>
<p>That looks better, but did you notice we knocked out the X axis title? That happened because as I wrote earlier, mgp applies to both the axes. So we asked par to place the axes titles in line number 5. Since line numbering starts at 0, that&#8217;s the sixth line in the margin. But we only left 5 lines worth of margin space on the bottom X axis. So the X axis title did not fit within the figure.</p>
<p>To get around this problem, there are at least three solutions. Let&#8217;s first look at the hardest one. </p>
<p><strong><br />
par(mar=c(5,6,4,2)+0.1)<br />
plot(cows$Total.milk.production~cows$Year,las=1,xlab=&#8221;Year&#8221;, ylab=&#8221;")<br />
mtext(&#8220;Total Milk Production (in pounds?)&#8221;,side=2,line=5)<br />
</strong></p>
<p><a href="http://www.prettygraph.com/blog/wp-content/uploads/2010/06/cows3.png"><img src="http://www.prettygraph.com/blog/wp-content/uploads/2010/06/cows3.png" alt="" title="cows3" width="480" height="480" class="alignnone size-full wp-image-273" /></a></p>
<p>Voila! So we dropped the mgp argument, set the left margin wide, suppressed the default Y axis label and then used mtext to place the title in line 5. Thus, we used the defaults for the X axis title and used a custom function call for the Y axis title.</p>
<p>What are the easy solutions then? Just use <a href="http://stat.ethz.ch/R-manual/R-patched/library/lattice/html/Lattice.html">lattice</a> or <a href="http://had.co.nz/ggplot2/">ggplot2</a> &#8211; they will take care of the margins automatically almost in all cases without you having to worry about it.</p>
<p>If you are wondering why I am wrestling with these base graphics settings, there is a good reason. I&#8217;m building a <a href="http://prettygraph.com/">web-based graphing application</a> using R, so I need to automatically and <i>quickly</i> create good looking graphs for a variety of use cases. In my experience, the base graphics functions are faster than using lattice and ggplot2 simply because loading the packages takes a few too many seconds. In building the code for Pretty Graph to handle all sorts of user input data and help people visualise them as different types of graphs, I am having to hack around the base R code to make it produce good graphs consistently. I think that one can make very good graphs using the basic functions if one spends some time learning the different parameters. This is the first in a series of blog posts where I talk about my experience in building R graphs and some interesting quirks of R graphics functions. I hope it will be a good learning experience for me.</p>
<p><iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS2=1&#038;nou=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=pretgrap-20&#038;o=1&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;asins=158488486X" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.prettygraph.com/blog/setting-graph-margins-in-r-using-the-par-function-and-lots-of-cow-milk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Noise Visualization in the Tenderloin area of San Francisco by Movity</title>
		<link>http://www.prettygraph.com/blog/noise-visualization-in-the-tenderloin-area-of-san-francisco-by-movity/</link>
		<comments>http://www.prettygraph.com/blog/noise-visualization-in-the-tenderloin-area-of-san-francisco-by-movity/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 07:45:50 +0000</pubDate>
		<dc:creator>Hrishi Mittal</dc:creator>
				<category><![CDATA[Visualisations]]></category>

		<guid isPermaLink="false">http://www.prettygraph.com/blog/?p=237</guid>
		<description><![CDATA[A San Francisco based startup Movity has created the following beautiful visualisation of noise in the city&#8217;s Tenderloin area.  Tendernoise is an applied acoustic ecology project, which aims to show the effect of noise on the quality of life. The image above is just a snapshot of the animation showing the noise patterns over two [...]]]></description>
			<content:encoded><![CDATA[<p>A San Francisco based startup Movity has created the following beautiful visualisation of noise in the city&#8217;s Tenderloin area.  <a href="http://tendernoise.movity.com/">Tendernoise</a> is an applied acoustic ecology project, which aims to<span style="color: #000000;"> show the effect of noise on the quality of life.<br />
</span></p>
<p><a href="http://www.prettygraph.com/blog/wp-content/uploads/2010/06/tendernoise.png"><img class="alignnone size-medium wp-image-238" title="Noise in the Tenderloin SF" src="http://www.prettygraph.com/blog/wp-content/uploads/2010/06/tendernoise-300x151.png" alt="" width="500" height="250" /></a></p>
<p>The image above is just a snapshot of the <a href="http://tendernoise.movity.com/">animation showing the noise patterns</a> over two and a half days. Most of the times, the noise levels are around 60-80 dB. The most striking thing is that there is never a quiet moment!</p>
<p>The lengths of the coloured lines in the bottom panel denote <span style="color: #000000;">the range between the highest and lowest db reading at that given moment.</span></p>
<p>PS. <a href="http://www.movity.com/">Movity</a> is funded by <a href="http://www.ycombinator.com/">YCombinator</a>. I found this on <a href="http://news.ycombinator.com/item?id=1434017">Hacker News</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prettygraph.com/blog/noise-visualization-in-the-tenderloin-area-of-san-francisco-by-movity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Legends now automatically added to scatter plots and line graphs</title>
		<link>http://www.prettygraph.com/blog/legends-now-automatically-added-to-scatter-plots-and-line-graphs/</link>
		<comments>http://www.prettygraph.com/blog/legends-now-automatically-added-to-scatter-plots-and-line-graphs/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 23:14:08 +0000</pubDate>
		<dc:creator>Hrishi Mittal</dc:creator>
				<category><![CDATA[Graphs]]></category>
		<category><![CDATA[Pretty Graph]]></category>

		<guid isPermaLink="false">http://www.prettygraph.com/blog/?p=228</guid>
		<description><![CDATA[If you make a scatter plot or line graph with more than one variable on the Y axis, Pretty Graph automatically adds a legend to the right. Here&#8217;s an example of a line graph showing monthly rainfall in some cities: Next, we will be adding options to choose the location of the legend (top, right, [...]]]></description>
			<content:encoded><![CDATA[<p>If you make a scatter plot or line graph with more than one variable on the Y axis, Pretty Graph automatically adds a legend to the right. Here&#8217;s an example of a line graph showing monthly rainfall in some cities:</p>
<p><a href="http://www.prettygraph.com/blog/wp-content/uploads/2010/06/rain2.png"><img class="alignnone size-full wp-image-235" title="Monthly Rainfall in Cities" src="http://www.prettygraph.com/blog/wp-content/uploads/2010/06/rain2.png" alt="" width="600" height="600" /></a></p>
<p>Next, we will be adding options to choose the location of the legend (top, right, bottom).</p>
<p>Lots more little improvements are in the works.</p>
<p>If you have any comments, suggestions or questions please leave a comment below or email me at hrishi@prettygraph.com.</p>
<p>Don&#8217;t forget to sign up for the private beta. It&#8217;s free!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prettygraph.com/blog/legends-now-automatically-added-to-scatter-plots-and-line-graphs/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>An update on Pretty Graph</title>
		<link>http://www.prettygraph.com/blog/an-update-on-pretty-graph/</link>
		<comments>http://www.prettygraph.com/blog/an-update-on-pretty-graph/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 22:45:30 +0000</pubDate>
		<dc:creator>Hrishi Mittal</dc:creator>
				<category><![CDATA[Pretty Graph]]></category>

		<guid isPermaLink="false">http://www.prettygraph.com/blog/?p=214</guid>
		<description><![CDATA[The application is still fairly basic but you can do a bunch of things with it. You can create five different types of graphs: scatterplots, line graphs, bar plots, histograms and boxplots. Over the last few days we have added some additional functionality such as: plotting more than one variable on the same Y axis [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">The application is still fairly basic but you can do a bunch of things with it. You can create five different types of graphs: scatterplots, line graphs, bar plots, histograms and boxplots.</div>
<div></div>
<div id="_mcePaste">Over the last few days we have added some additional functionality such as:</div>
<div id="_mcePaste">
<ul>
<li>plotting more than one variable on the same Y axis</li>
<li>making a multi-plot layout i.e. one image with multiple graphs</li>
<li>automatically adding legends to plots with multiple data sets</li>
<li>downloading the graphs as image (PNG) or PDF</li>
<li>sharing graphs by email</li>
<li>user data file management</li>
</ul>
</div>
<div id="_mcePaste">We are now frequently updating the application (almost daily) and soon you will be able to see a lot more useful functionality added, some of which includes:</div>
<div>
<ul>
<li>high resolution image downloads in PNG and other formats for use in publications.</li>
<li>new graph type: heatmaps.</li>
<li>graph style templates for quickly choosing a suitable format</li>
<li>batch processing to automatically produce the same type of graph for a number of data files</li>
</ul>
</div>
<div id="_mcePaste">In addition to adding useful features to help you make better graphs more easily, we will also be producing more help material such as screencasts and tutorials to get you started with Pretty Graph properly.</div>
<div></div>
<div>We will also open up the application to everyone soon, so that we can test it out well in the wild before the paid subscription version goes live.</div>
<div></div>
<div>Stay tuned for more!</div>
]]></content:encoded>
			<wfw:commentRss>http://www.prettygraph.com/blog/an-update-on-pretty-graph/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Response to Flowingdata Challenge: Graphing obesity trends</title>
		<link>http://www.prettygraph.com/blog/response-to-flowingdata-challenge-graphing-obesity-trends/</link>
		<comments>http://www.prettygraph.com/blog/response-to-flowingdata-challenge-graphing-obesity-trends/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 14:04:03 +0000</pubDate>
		<dc:creator>Hrishi Mittal</dc:creator>
				<category><![CDATA[Graphs]]></category>
		<category><![CDATA[R]]></category>

		<guid isPermaLink="false">http://www.prettygraph.com/blog/?p=183</guid>
		<description><![CDATA[Nathan at Flowingata put up another interesting challenge today to improve the following graphic showing obesity trends in America. Here&#8217;s my attempt: I transposed the data so that the cohorts are on the X axis and each separate line represents an age group. So each line shows the percentage of obese people in a particular [...]]]></description>
			<content:encoded><![CDATA[<p>Nathan at Flowingata put up another <a href="http://flowingdata.com/2010/04/29/challenge-graphing-obesity-trends/">interesting challenge today</a> to improve the following graphic showing obesity trends in America.</p>
<p><a href="http://www.prettygraph.com/blog/wp-content/uploads/2010/04/obesity_original2.png"><img class="alignnone size-full wp-image-188" title="obesity_original" src="http://www.prettygraph.com/blog/wp-content/uploads/2010/04/obesity_original2.png" alt="" width="545" height="427" /></a></p>
<p>Here&#8217;s my attempt:</p>
<p><a href="http://www.prettygraph.com/blog/wp-content/uploads/2010/04/obesity_pg4.png"><img class="alignnone size-full wp-image-208" title="obesity_pg" src="http://www.prettygraph.com/blog/wp-content/uploads/2010/04/obesity_pg4.png" alt="" width="550" height="400" /></a></p>
<p>I transposed the data so that the cohorts are on the X axis and each separate line represents an age group. So each line shows the percentage of obese people in a particular age group. This way the graph tells you the probability of you being obese at a given age in a particular decade.</p>
<p>For each age group, the line roughly trends upwards. For example, the lavender (violet? 3rd from bottom) line shows that if you were in your twenties during the World War II chances of you being obese were just below 10%, but if you were in your twenties during the mid 60s-70s (rocking out to The Doors?) you were more than twice as likely to be obese.</p>
<p>So, from a cursory look, it does seem that Americans have been getting obese faster.</p>
<p>For those interested, here&#8217;s my <a href="http://prettygraph.com/blog/wp-content/uploads/2010/04/obesity_edit.csv">modified data file</a> and the R code:</p>
<p><span style="color: #0000ff;">o&lt;-read.csv(&#8220;obesity_edit.csv&#8221;)</span></p>
<p><span style="color: #0000ff;">colnames(o)&lt;-c(&#8220;Age group&#8221;,&#8221;2-9 Y&#8221;,&#8221;10-19 Y&#8221;,&#8221;20-29 Y&#8221;,&#8221;30-39 Y&#8221;,&#8221;40-49 Y&#8221;,&#8221;50-59 Y&#8221;,&#8221;60-69 Y&#8221;,&#8221;70-79 Y&#8221;)</span></p>
<p><span style="color: #0000ff;">library(RColorBrewer)<br />
pal&lt;-brewer.pal(length(colnames(o)),&#8221;Set1&#8243;)</span></p>
<p><span style="color: #0000ff;">plot(o[,2],pch=19,xaxt=&#8221;n&#8221;,col=pal[2],type=&#8221;o&#8221;,ylim=c(0,max(o[,-1],na.rm=T)),xlab=&#8221;Cohort by Decade&#8221;,ylab=&#8221;Percentage of Obese People&#8221;,main=&#8221;Obesity trends by Age Group&#8221;)<br />
</span></p>
<p><span style="color: #0000ff;">for(i in 3:length(colnames(o))) {<br />
points(o[,i],pch=19,xaxt=&#8221;n&#8221;,col=pal[i])<br />
lines(o[,i],pch=19,xaxt=&#8221;n&#8221;,col=pal[i])<br />
}</span></p>
<p><span style="color: #0000ff;">axis(1,at=1:length(o[,1]),labels=o[,1],cex.axis=0.75)</span></p>
<p><span style="color: #0000ff;">legend(&#8220;topright&#8221;,legend=colnames(o)[-1],col=pal[-1],lty=1,pch=19,bty=&#8221;n&#8221;)</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.prettygraph.com/blog/response-to-flowingdata-challenge-graphing-obesity-trends/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Airspace Rebooted: A visualisation of the northern European airspace returning to use</title>
		<link>http://www.prettygraph.com/blog/airspace-rebooted-a-visualisation-of-the-northern-european-airspace-returning-to-use/</link>
		<comments>http://www.prettygraph.com/blog/airspace-rebooted-a-visualisation-of-the-northern-european-airspace-returning-to-use/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 14:08:50 +0000</pubDate>
		<dc:creator>Hrishi Mittal</dc:creator>
				<category><![CDATA[Visualisations]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[visualisation]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://www.prettygraph.com/blog/?p=175</guid>
		<description><![CDATA[ItoWorld has created this beautiful visualisation of the European airspace coming back to life after the Icelandic volcano eruption last week. Airspace Rebooted from ItoWorld on Vimeo.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.itoworld.com/">ItoWorld</a> has created this beautiful visualisation of the European airspace coming back to life after the Icelandic volcano eruption last week.</p>
<p><object width="601" height="338"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=11205494&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=11205494&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="601" height="338"></embed></object>
<p><a href="http://vimeo.com/11205494">Airspace Rebooted</a> from <a href="http://vimeo.com/itoworld">ItoWorld</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prettygraph.com/blog/airspace-rebooted-a-visualisation-of-the-northern-european-airspace-returning-to-use/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

