
<?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>stefanorodighiero.net &#187; visualization</title>
	<atom:link href="http://www.stefanorodighiero.net/blog/tag/visualization/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stefanorodighiero.net/blog</link>
	<description>in between</description>
	<lastBuildDate>Thu, 05 Jan 2012 08:50:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>How fast my git repositories are growing?</title>
		<link>http://www.stefanorodighiero.net/blog/2011/08/how-fast-my-git-repositories-are-growing/</link>
		<comments>http://www.stefanorodighiero.net/blog/2011/08/how-fast-my-git-repositories-are-growing/#comments</comments>
		<pubDate>Sat, 06 Aug 2011 11:36:14 +0000</pubDate>
		<dc:creator>larsen</dc:creator>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://www.stefanorodighiero.net/blog/?p=309</guid>
		<description><![CDATA[I wrote a very small utility to gather LOC counts from a git repository. Called gitsloc, it&#8217;s based on Cloc, with some extra goodness provided by Sysadm::Install (a rather inaptly named module, if you ask to me, but full of useful gems). I guess it could actually have some uses, who knows?, but I wrote <a href="http://www.stefanorodighiero.net/blog/2011/08/how-fast-my-git-repositories-are-growing/"> read more <span class="meta-nav">&#187;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I wrote a very small utility to gather LOC counts from a git repository. Called <a href="https://github.com/larsen/gitsloc">gitsloc</a>, it&#8217;s based on <a href="http://cloc.sourceforge.net/">Cloc</a>, with some extra goodness provided by <a href="http://search.cpan.org/~mschilli/Sysadm-Install/">Sysadm::Install</a> (a rather inaptly named module, if you ask to me, but full of useful gems).</p>
<p>I guess it could actually have some uses, who knows?, but I wrote it mostly because I wanted to <strong>see</strong> how fast repos are growing, and <a href="http://www.r-project.org/">R</a> is the obvious tool to tinker with the results.</p>
<p>I&#8217;m less than a beginner with R, and I have to admit plotting data from a multi-column CSV file is less straitghforward than I expected: I had to use <code>xyplot</code> from the <a href="http://cran.r-project.org/web/packages/lattice/index.html">lattice package</a>, like this:</p>
<div id="gist-1127531" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'>xyplot<span class="p">(</span> </div><div class='line' id='LC2'>&nbsp;&nbsp;Perl <span class="o">+</span> Bourne.Shell ~ <span class="m">1</span>:nrow<span class="p">(</span>sloc<span class="p">),</span> </div><div class='line' id='LC3'>&nbsp;&nbsp;data <span class="o">=</span> sloc<span class="p">,</span> </div><div class='line' id='LC4'>&nbsp;&nbsp;type <span class="o">=</span> <span class="s">&#39;a&#39;</span><span class="p">,</span> </div><div class='line' id='LC5'>&nbsp;&nbsp;auto.key <span class="o">=</span> list<span class="p">(</span> space <span class="o">=</span> <span class="s">&quot;top&quot;</span><span class="p">,</span> lines <span class="o">=</span> <span class="kc">TRUE</span><span class="p">,</span> points <span class="o">=</span> <span class="kc">FALSE</span><span class="p">)</span></div><div class='line' id='LC6'><span class="p">)</span></div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/1127531/9e8a686fc56a0e494811e3b4f32a0a24fb0a9025/gistfile1.r" style="float:right;">view raw</a>
            <a href="https://gist.github.com/1127531#file_gistfile1.r" style="float:right;margin-right:10px;color:#666">gistfile1.r</a>
            <a href="https://gist.github.com/1127531">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>

<p>Here the result, with data provided analysing the <a class="zem_slink" title="Dancer (software)" href="http://www.perldancer.org/" rel="homepage">Dancer</a> github repository (branch devel).</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><img class="aligncenter size-full wp-image-340" title="Rplot01" src="http://www.stefanorodighiero.net/blog/wp-content/uploads/2011/08/Rplot01.png" alt="" width="520" height="296" /><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/pixy.gif?x-id=2fd34d65-26e5-4457-a9e2-18ef531e2b67" alt="" /></div>
<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.stefanorodighiero.net%2Fblog%2F2011%2F08%2Fhow-fast-my-git-repositories-are-growing%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_google1" style="width:90px;">
					<g:plusone size="medium" href="http://www.stefanorodighiero.net/blog/2011/08/how-fast-my-git-repositories-are-growing/" ></g:plusone>
				</div><div class="really_simple_share_twitter" style="width:110px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="How fast my git repositories are growing? (via @larsen)" data-url="http://www.stefanorodighiero.net/blog/2011/08/how-fast-my-git-repositories-are-growing/" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.stefanorodighiero.net/blog/2011/08/how-fast-my-git-repositories-are-growing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visualization tools</title>
		<link>http://www.stefanorodighiero.net/blog/2010/01/visualization-tools/</link>
		<comments>http://www.stefanorodighiero.net/blog/2010/01/visualization-tools/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 08:44:05 +0000</pubDate>
		<dc:creator>larsen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://www.stefanorodighiero.net/blog/?p=129</guid>
		<description><![CDATA[Via Guy Kawasaki&#8217;s Twitter feed, I just discovered an interesting video about &#8220;How visualization changes everything&#8221;. Among Alex Lundy&#8217;s slides there&#8217;s one on dataviz tools. I didn&#8217;t know most of them: Verifiable.com Swivel Many eyes Tableau Here&#8217;s the video:]]></description>
			<content:encoded><![CDATA[<p>Via <a href="http://twitter.com/Guykawasaki">Guy Kawasaki&#8217;s Twitter feed</a>, I just discovered an interesting video about <a href="http://holykaw.alltop.com/how-visualization-changes-everything?">&#8220;How visualization changes everything&#8221;</a>. Among Alex Lundy&#8217;s slides there&#8217;s one on <em>dataviz</em> tools. I didn&#8217;t know most of them:</p>
<ul>
<li><a href="http://verifiable.com/">Verifiable.com</a></li>
<li><a href="http://www.swivel.com/">Swivel</a></li>
<li><a href="http://manyeyes.alphaworks.ibm.com/manyeyes/">Many eyes</a></li>
<li><a href="http://www.tableausoftware.com/">Tableau</a></li>
</ul>
<p> Here&#8217;s the video:<br />
<embed src="http://blip.tv/play/g9M1gbi4eQI%2Em4v" type="application/x-shockwave-flash" width="480" height="300" allowscriptaccess="always" allowfullscreen="true"></embed> </p>
<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.stefanorodighiero.net%2Fblog%2F2010%2F01%2Fvisualization-tools%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_google1" style="width:90px;">
					<g:plusone size="medium" href="http://www.stefanorodighiero.net/blog/2010/01/visualization-tools/" ></g:plusone>
				</div><div class="really_simple_share_twitter" style="width:110px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="Visualization tools (via @larsen)" data-url="http://www.stefanorodighiero.net/blog/2010/01/visualization-tools/" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.stefanorodighiero.net/blog/2010/01/visualization-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

