<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>OUseful.Info, the blog... &#187; A First Attempt at Looking at F1 Timing Data in Google Motion Charts (aka &#8220;Gapminder&#8221;)</title>
	<atom:link href="http://blog.ouseful.info/2011/04/26/a-first-attempt-at-looking-at-f1-timing-data-in-google-motion-charts-aka-gapminderf/feed/?withoutcomments=1" rel="self" type="application/rss+xml" />
	<link>http://blog.ouseful.info</link>
	<description>Trying to find useful things to do with emerging technologies in open education</description>
	<lastBuildDate>Sun, 19 May 2013 20:47:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.ouseful.info' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>OUseful.Info, the blog... &#187; A First Attempt at Looking at F1 Timing Data in Google Motion Charts (aka &#8220;Gapminder&#8221;)</title>
		<link>http://blog.ouseful.info</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.ouseful.info/osd.xml" title="OUseful.Info, the blog..." />
	<atom:link rel='hub' href='http://blog.ouseful.info/?pushpress=hub'/>
		<item>
		<title>A First Attempt at Looking at F1 Timing Data in Google Motion Charts (aka &#8220;Gapminder&#8221;)</title>
		<link>http://blog.ouseful.info/2011/04/26/a-first-attempt-at-looking-at-f1-timing-data-in-google-motion-charts-aka-gapminderf/</link>
		<comments>http://blog.ouseful.info/2011/04/26/a-first-attempt-at-looking-at-f1-timing-data-in-google-motion-charts-aka-gapminderf/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 07:49:15 +0000</pubDate>
		<dc:creator>Tony Hirst</dc:creator>
				<category><![CDATA[Data]]></category>
		<category><![CDATA[Tinkering]]></category>
		<category><![CDATA[Visualisation]]></category>
		<category><![CDATA[datajourn]]></category>
		<category><![CDATA[ddj]]></category>
		<category><![CDATA[f1data]]></category>
		<category><![CDATA[madewithgephi]]></category>

		<guid isPermaLink="false">http://blog.ouseful.info/?p=5330</guid>
		<description><![CDATA[Having managed to get F1 timing data data through my cobbled together F1 timing data Scraperwiki, it becomes much easier to try out different visualisation approaches that can be used to review the stories that sometimes get hidden in the heat of the race (that data journalism trick of using visualisation as an analytic tool [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ouseful.info&#038;blog=325417&#038;post=5330&#038;subd=ouseful&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Having managed to get F1 timing data <em>data</em> through my cobbled together <a href="http://blog.ouseful.info/2011/04/10/data-liberation-formula-one-press-release-timing-sheets/">F1 timing data Scraperwiki</a>, it becomes much easier to try out different visualisation approaches that can be used to review the stories that sometimes get hidden in the heat of the race (that data journalism trick of using visualisation as an analytic tool for story discovery, for example).</p>
<p>Whilst I was on holiday, reading a chapter in <a href="http://www.amazon.co.uk/Beautiful-Visualization-Julie-Steele/dp/1449379869/?tag=ouseful-21">Beautiful Visualization</a> on Gapminder/Trendalyser/Google Motion Charts (it seems the animations may be effective when narrated, as when Hans Rosling performs with them, but for the uninitiated, they can simply be confusing&#8230;), it struck me that I should be able to view some of the timing data in the motion chart&#8230; </p>
<p>So here&#8217;s a first attempt (going against the previously identified &#8220;works best with narration&#8221; bit of best practice;-) &#8211; <a href="http://www.youtube.com/watch?v=EnbCQuk7xos">F1 timing data (China 2011) in Google Motion Charts, the video</a>:</p>
<p><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='700' height='424' src='http://www.youtube.com/embed/EnbCQuk7xos?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span><br />
<em>Visualising the China 2011 F1 Grand Prix in Google Motion Charts</em></p>
<p>If you want to play with the chart itself, you can find it here: <a href="https://spreadsheets1.google.com/spreadsheet/pub?hl=en_GB&amp;hl=en_GB&amp;key=0AmbQbL4Lrd61dHo2a0otRHBQeHNjX1lpbUhrWjNaWHc&amp;single=true&amp;gid=0&amp;output=html">F1 timing data (China 2011) Google Motion Chart</a>.</p>
<p>The (useful) dimensions are:</p>
<ul>
<li><em>lap</em> &#8211; the lap number;</li>
<li><em>pos</em> &#8211; the car/racing number of each driver;</li>
<li><em>trackPos</em> &#8211; the position in the race (the racing position);</li>
<li><em>currTrackPos</em> &#8211; the position on the track (so if a lapped car is between the leader and second place car, their respective <em>currtrackpos</em> are 1, 2, 3);</li>
<li><em>pitHistory</em> &#8211; the number of pit stops to date</li>
</ul>
<p>The <em>timeToLead</em>, <em>timeToFront</em> and <em>timeToBack</em> measures give the time (in seconds) between each car and the leader, the time to the car in the racing position ahead, and the time to the car in racing position behind (these last two datasets are incomplete at the moment&#8230; I still need to calculate this missing datapoints&#8230;). The <em>elapsedTime</em> is the elapsed racetime for each car at the end of each measured lap.</p>
<p>The time starts at 1900 because of a quirk in Google Motion Charts &#8211; they only work properly for times measured in years, months and days (or years and quarters) for 1900 onwards. (You can use years less than 1900 but at 1899 bad things might happen!) This means that I can simply use the elapsed time as the timebase. So until such a time as the chart supports date:time or :time as well as date: stamps, my fix is simply to use an integer timecount (the elapsed time in seconds) + 1900.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ouseful.wordpress.com/5330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ouseful.wordpress.com/5330/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ouseful.info&#038;blog=325417&#038;post=5330&#038;subd=ouseful&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.ouseful.info/2011/04/26/a-first-attempt-at-looking-at-f1-timing-data-in-google-motion-charts-aka-gapminderf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/abbd9f90565ce9ae4d065d93a81d8c03?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Tony Hirst</media:title>
		</media:content>
	</item>
	</channel>
</rss>
