<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Data Driven: Data Analytics, Dashboard Design</title>
	
	<link>http://www.datadrivenconsulting.com</link>
	<description>You have plenty of data, but need better insight</description>
	<lastBuildDate>Wed, 28 Sep 2011 19:51:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/DataDrivenConsulting" /><feedburner:info uri="datadrivenconsulting" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Blackjack Basic Strategy and Expected Outcomes</title>
		<link>http://feedproxy.google.com/~r/DataDrivenConsulting/~3/lPF6e7gMlK4/</link>
		<comments>http://www.datadrivenconsulting.com/2011/09/basic-strategy-and-expected-outcomes/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 18:45:51 +0000</pubDate>
		<dc:creator>Alex Kerin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.datadrivenconsulting.com/?p=1126</guid>
		<description><![CDATA[Following on from my post about where to play blackjack, here&#8217;s a basic strategy tester and strategy table built in Tableau. The idea is that if you play perfect strategy, you minimize the house advantage and your losses. By playing &#8220;with your gut&#8221;, you&#8217;re giving the house a massive advantage, especially if you&#8217;re not doubling ...]]></description>
			<content:encoded><![CDATA[<p>Following on from my post about <a title="Where to Play Blackjack in Vegas" href="http://www.datadrivenconsulting.com/2011/09/where-to-play-blackjack-in-vegas/">where to play blackjack</a>, here&#8217;s a basic strategy tester and strategy table built in Tableau. The idea is that if you play perfect strategy, you minimize the house advantage and your losses. By playing &#8220;with your gut&#8221;, you&#8217;re giving the house a massive advantage, especially if you&#8217;re not doubling down. </p>
<p>Played properly, the house advantage will typically be somewhere around 0.5% depending on the rules at the table. In other words, for 20 bets of $10, you can expect to lose only $1. Of course that&#8217;s unlikely, and you only approach the house advantage after hundreds or thousands of rounds of cards. In the short run, you&#8217;ll be up or down with much bigger swings.</p>
<p>The idea behind <a target="_blank" href="http://wizardofvegas.com/guides/blackjack/">basic strategy</a> is simple; you know what cards you have, and the up card of the dealer. That allows you to make a decision based on that information. Here&#8217;s the strategy table for a typical ruleset:<br />
<script type="text/javascript" src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script>
<div class="tableauPlaceholder" style="width:604px; height:669px;"><noscript><a href="#"><img alt="Strategy " src="http:&#47;&#47;public.tableausoftware.com&#47;static&#47;images&#47;bl&#47;blackjackallfinal&#47;Strategy&#47;1_rss.png" style="height: 100%; width: 100%; border: none" /></a></noscript><object class="tableauViz" width="604" height="669" style="display:none;"><param name="host_url" value="http%3A%2F%2Fpublic.tableausoftware.com%2F" /><param name="name" value="blackjackallfinal&#47;Strategy" /><param name="tabs" value="no" /><param name="toolbar" value="no" /><param name="static_image" value="http:&#47;&#47;public.tableausoftware.com&#47;static&#47;images&#47;bl&#47;blackjackallfinal&#47;Strategy&#47;1.png" /><param name="animate_transition" value="yes" /><param name="display_static_image" value="yes" /><param name="display_spinner" value="yes" /><param name="display_overlay" value="yes" /></object></div>
<div style="width:604px;height:22px;padding:0px 10px 0px 0px;color:black;font:normal 8pt verdana,helvetica,arial,sans-serif;">
<div style="float:right; padding-right:8px;"><a href="http://www.tableausoftware.com/public?ref=http://public.tableausoftware.com/views/blackjackallfinal/Strategy" target="_blank">Powered by Tableau</a></div>
</div>
<p>And here&#8217;s the workbook for testing your basic strategy: </p>
<p><script type="text/javascript" src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script>
<div class="tableauPlaceholder" style="width:604px; height:469px;"><noscript><a href="#"><img alt="Test your strategy " src="http:&#47;&#47;public.tableausoftware.com&#47;static&#47;images&#47;bl&#47;blackjackallfinal&#47;Testyourstrategy&#47;1_rss.png" style="height: 100%; width: 100%; border: none" /></a></noscript><object class="tableauViz" width="604" height="469" style="display:none;"><param name="host_url" value="http%3A%2F%2Fpublic.tableausoftware.com%2F" /><param name="name" value="blackjackallfinal&#47;Testyourstrategy" /><param name="tabs" value="no" /><param name="toolbar" value="no" /><param name="static_image" value="http:&#47;&#47;public.tableausoftware.com&#47;static&#47;images&#47;bl&#47;blackjackallfinal&#47;Testyourstrategy&#47;1.png" /><param name="animate_transition" value="yes" /><param name="display_static_image" value="yes" /><param name="display_spinner" value="yes" /><param name="display_overlay" value="yes" /></object></div>
<div style="width:604px;height:22px;padding:0px 10px 0px 0px;color:black;font:normal 8pt verdana,helvetica,arial,sans-serif;">
<div style="float:right; padding-right:8px;"><a href="http://www.tableausoftware.com/public?ref=http://public.tableausoftware.com/views/blackjackallfinal/Testyourstrategy" target="_blank">Powered by Tableau</a></div>
</div>
<p>Given what cards you have, you can predict the return. The blue squares show the positive return and the red an expected loss. A negative 45% means that by using basic strategy, on average you will lose 45c per dollar bet. This is data from <a target="_blank" href="http://wizardofodds.com/blackjack/appendix1.html">Wizards of Odds</a>.</p>
<p><script type="text/javascript" src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script>
<div class="tableauPlaceholder" style="width:604px; height:769px;"><noscript><a href="#"><img alt="Expected Returns " src="http:&#47;&#47;public.tableausoftware.com&#47;static&#47;images&#47;bl&#47;blackjackallfinal&#47;Outcomes&#47;1_rss.png" style="height: 100%; width: 100%; border: none" /></a></noscript><object class="tableauViz" width="604" height="769" style="display:none;"><param name="host_url" value="http%3A%2F%2Fpublic.tableausoftware.com%2F" /><param name="name" value="blackjackallfinal&#47;Outcomes" /><param name="tabs" value="no" /><param name="toolbar" value="no" /><param name="static_image" value="http:&#47;&#47;public.tableausoftware.com&#47;static&#47;images&#47;bl&#47;blackjackallfinal&#47;Outcomes&#47;1.png" /><param name="animate_transition" value="yes" /><param name="display_static_image" value="yes" /><param name="display_spinner" value="yes" /><param name="display_overlay" value="yes" /></object></div>
<div style="width:604px;height:22px;padding:0px 10px 0px 0px;color:black;font:normal 8pt verdana,helvetica,arial,sans-serif;">
<div style="float:right; padding-right:8px;"><a href="http://www.tableausoftware.com/public?ref=http://public.tableausoftware.com/views/blackjackallfinal/Outcomes" target="_blank">Powered by Tableau</a></div>
</div>
<p>Blah blah, standard disclaimer. You can&#8217;t sue me if I screwed up.</p>
<img src="http://feeds.feedburner.com/~r/DataDrivenConsulting/~4/lPF6e7gMlK4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.datadrivenconsulting.com/2011/09/basic-strategy-and-expected-outcomes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.datadrivenconsulting.com/2011/09/basic-strategy-and-expected-outcomes/</feedburner:origLink></item>
		<item>
		<title>Where to Play Blackjack in Vegas</title>
		<link>http://feedproxy.google.com/~r/DataDrivenConsulting/~3/eIiC42qkZFo/</link>
		<comments>http://www.datadrivenconsulting.com/2011/09/where-to-play-blackjack-in-vegas/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 00:00:27 +0000</pubDate>
		<dc:creator>Alex Kerin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.datadrivenconsulting.com/?p=1119</guid>
		<description><![CDATA[With the Tableau customer conference fast approaching I thought a blackjack visualization was appropriate. If you play blackjack using basic strategy (hitting, standing, doubling, etc. depending on the cards showing) you can minimize your losses over time. However, short of card counting or cheating, the house always has the advantage, although slight &#8211; typically in ...]]></description>
			<content:encoded><![CDATA[<p>With the <a href="http://tableau.cvent.com/events/2011-tableau-customer-conference/event-summary-483b40358e8b4f9ea34b0881f9f781d5.aspx">Tableau customer conference</a> fast approaching I thought a blackjack visualization was appropriate. If you play blackjack using <a href="http://www.datadrivenconsulting.com/2011/09/basic-strategy-and-expected-outcomes/">basic strategy</a> (hitting, standing, doubling, etc. depending on the cards showing) you can minimize your losses over time. However, short of card counting or cheating, the house always has the advantage, although slight &#8211; typically in the 0.2 to 0.8% range. The advantage is affected by the rules for that table &#8211; number of decks, the dealer having to stand on soft 17 and so on.</p>
<p>Therefore, given a minimum you want to bet, some tables and casinos will offer better deal. I found a list of blackjack tables with the house advantage calculated at the excellent <a target="_blank" href="http://wizardofvegas.com/guides/blackjack-survey/">Wizard of Odds</a> site. I used this list with permission to generate the interactive visualization below. Hover over the top right button for more information on how to interact with it.</p>
<p><script type="text/javascript" src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script>
<div class="tableauPlaceholder" style="width:604px; height:819px;"><noscript><a href="#"><img alt="Vegas: Where to Play Blackjack " src="http:&#47;&#47;public.tableausoftware.com&#47;static&#47;images&#47;bl&#47;blackjackmap&#47;BlackjackMap&#47;1_rss.png" style="height: 100%; width: 100%; border: none" /></a></noscript><object class="tableauViz" width="604" height="819" style="display:none;"><param name="host_url" value="http%3A%2F%2Fpublic.tableausoftware.com%2F" /><param name="name" value="blackjackmap&#47;BlackjackMap" /><param name="tabs" value="no" /><param name="toolbar" value="no" /><param name="static_image" value="http:&#47;&#47;public.tableausoftware.com&#47;static&#47;images&#47;bl&#47;blackjackmap&#47;BlackjackMap&#47;1.png" /><param name="animate_transition" value="yes" /><param name="display_static_image" value="yes" /><param name="display_spinner" value="yes" /><param name="display_overlay" value="yes" /></object></div>
<div style="width:604px;height:22px;padding:0px 10px 0px 0px;color:black;font:normal 8pt verdana,helvetica,arial,sans-serif;">
<div style="float:right; padding-right:8px;"><a href="http://www.tableausoftware.com/public?ref=http://public.tableausoftware.com/views/blackjackmap/BlackjackMap" target="_blank">Powered by Tableau</a></div>
</div>
<p>Disclaimer: Don&#8217;t be suing me when you&#8217;ve lost your money and the house advantage was wrong&#8230;</p>
<img src="http://feeds.feedburner.com/~r/DataDrivenConsulting/~4/eIiC42qkZFo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.datadrivenconsulting.com/2011/09/where-to-play-blackjack-in-vegas/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.datadrivenconsulting.com/2011/09/where-to-play-blackjack-in-vegas/</feedburner:origLink></item>
		<item>
		<title>Beer and Calories and Alcohol and Calories Per Alcohol and…</title>
		<link>http://feedproxy.google.com/~r/DataDrivenConsulting/~3/7A_KpvXllM0/</link>
		<comments>http://www.datadrivenconsulting.com/2011/09/beer-and-calories-and-alcohol-and-calories-per-alcohol-and/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 02:31:29 +0000</pubDate>
		<dc:creator>Alex Kerin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.datadrivenconsulting.com/?p=1112</guid>
		<description><![CDATA[How many calories do you save by drinking light beer? Or perhaps the better question, if the alcohol content is lower in light beers, how many calories am I saving to get as drunk? This visualization answers that and more. The data is from Beer100.com and I&#8217;ve added lots of sort, coloring, highlight and filter ...]]></description>
			<content:encoded><![CDATA[<p>How many calories do you save by drinking light beer? Or perhaps the better question, if the alcohol content is lower in light beers, how many calories am I saving to get as drunk? This visualization answers that and more. The data is from <a title="Beer100.com's List of Beer" href="http://www.beer100.com/beercalories.htm" target="_blank">Beer100.com</a> and I&#8217;ve added lots of sort, coloring, highlight and filter opportunities. See if you can answer the following questions:</p>
<ul>
<li>For the same level of drunkenness, what beer has most calories per 100 ml? (hint, sort by descending calories per alcohol %)</li>
<li>Which has the least?</li>
<li>What has the most calories per alcohol percent of the light beers?</li>
<li>Which brewery has the widest spread of alcohol percent and calories (separate the list by brewery, then highlight each brewery on the scatter plot)</li>
<li>Which beer would get you the most wasted?</li>
</ul>
<p>To answer the question about light beers, alcohol, and calories: light beer has 35% less calories, but 24.5% less alcohol. To reach the same level of drunkenness (I know that&#8217;s not necessarily the goal&#8230;) you are only reducing your calorie intake by 14%.</p>
<p><script type="text/javascript" src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script>
<div class="tableauPlaceholder" style="width:624px; height:869px;"><noscript><a href="#"><img alt="Dashboard 1 " src="http:&#47;&#47;public.tableausoftware.com&#47;static&#47;images&#47;Be&#47;Beer&#47;Dashboard1&#47;1_rss.png" style="height: 100%; width: 100%; border: none" /></a></noscript><object class="tableauViz" width="624" height="869" style="display:none;"><param name="host_url" value="http%3A%2F%2Fpublic.tableausoftware.com%2F" /><param name="name" value="Beer&#47;Dashboard1" /><param name="tabs" value="no" /><param name="toolbar" value="no" /><param name="static_image" value="http:&#47;&#47;public.tableausoftware.com&#47;static&#47;images&#47;Be&#47;Beer&#47;Dashboard1&#47;1.png" /><param name="animate_transition" value="yes" /><param name="display_static_image" value="yes" /><param name="display_spinner" value="yes" /><param name="display_overlay" value="yes" /></object></div>
<div style="width:624px;height:22px;padding:0px 10px 0px 0px;color:black;font:normal 8pt verdana,helvetica,arial,sans-serif;">
<div style="float:right; padding-right:8px;"><a href="http://www.tableausoftware.com/public?ref=http://public.tableausoftware.com/views/Beer/Dashboard1" target="_blank">Powered by Tableau</a></div>
</div>
<img src="http://feeds.feedburner.com/~r/DataDrivenConsulting/~4/7A_KpvXllM0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.datadrivenconsulting.com/2011/09/beer-and-calories-and-alcohol-and-calories-per-alcohol-and/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.datadrivenconsulting.com/2011/09/beer-and-calories-and-alcohol-and-calories-per-alcohol-and/</feedburner:origLink></item>
		<item>
		<title>Book Review: Rapid Graphs with Tableau Software</title>
		<link>http://feedproxy.google.com/~r/DataDrivenConsulting/~3/ghbIWj3ULZ4/</link>
		<comments>http://www.datadrivenconsulting.com/2011/06/book-review-rapid-graphs-with-tableau-software/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 02:12:03 +0000</pubDate>
		<dc:creator>Alex Kerin</dc:creator>
				<category><![CDATA[Data Visualization]]></category>
		<category><![CDATA[Good Examples]]></category>
		<category><![CDATA[Tableau]]></category>

		<guid isPermaLink="false">http://www.datadrivenconsulting.com/?p=1094</guid>
		<description><![CDATA[Even though Tableau has been round for a number of years now, there is a dearth of books out there to guide new users. To get the most out of Tableau, you don&#8217;t want to approach chart making in the same way that you do in Excel. The videos and webinars that Tableau offers are great, ...]]></description>
			<content:encoded><![CDATA[<p><img class="size-thumbnail wp-image-1096 alignright" title="Initial Chart" src="http://www.datadrivenconsulting.com/wp-content/uploads/initial-150x150.png" alt="Rapid Graphs in Tableau" width="150" height="150" />Even though Tableau has been round for a number of years now, there is a dearth of books out there to guide new users. To get the most out of Tableau, you don&#8217;t want to approach chart making in the same way that you do in Excel. The <a title="Tableau Software" href="http://www.tableausoftware.com/learn/training" target="_blank">videos and webinars</a> that  Tableau offers are great, but with busy business schedules, and the need to flip back to something you&#8217;ve forgotten,  a book can be an important learning tool.</p>
<p><img class="size-thumbnail wp-image-1097 alignleft" title="To this in less than 5 minutes" src="http://www.datadrivenconsulting.com/wp-content/uploads/to-this-150x150.png" alt="Rapid Graphs in Tableau" width="150" height="150" /></p>
<p>When I say dearth that&#8217;s no exaggeration, there is literally one &#8211; Stephen and Eileen McDaniel&#8217;s <a title="Amazon Link" href="http://www.amazon.com/Rapid-Graphs-Tableau-Software-Actionable/dp/B004NFC1KA/ref=sr_1_1?ie=UTF8&amp;qid=1309397036&amp;sr=8-1" target="_blank">Rapid Graphs with Tableau</a>. As with Tableau, the book is highly visual, I would estimate that half of the page space is taken up with charts and screenshots. The first 50 pages takes you on a mission that most new users will go on &#8211; your manager wants you to tell the story hidden behind rows of data. The book is designed so that you follow along in Tableau, using one of the sample datasets that Tableau provides as part of the install.</p>
<p>The rest of the book is also meant for you to read the book with Tableau open, and delves into topics beyond the basics that are critical to understanding data and guiding the end users of the data &#8211; other chart types, maps, sorting, calculations, color, and methods of distribution of the end result. Despite considering myself an advanced user of Tableau, I learned some very useful things.</p>
<p>I couldn&#8217;t find fault with the book &#8211; it would be interesting to watch how a completely novice user works through it &#8211; with the &#8220;<a title="Made to Stick" href="http://37signals.com/svn/posts/213-the-curse-of-knowledge" target="_blank">curse of knowledge</a>&#8221; I knew where to click, what to do, and I couldn&#8217;t force myself into pretending I didn&#8217;t know. I suspect they&#8217;d be fine. The book is subtitled &#8220;Create Intuitive, Actionable Insights in Just 15 Days&#8221;. I think that&#8217;s a reasonable expectation, but don&#8217;t take my word for it, read the first few chapters <a title="Freakalytics,com" href="http://www.freakalytics.com/2011/05/14/rapid-graphs-for-tableau-6-sent-to-press-available-soon/" target="_blank">here</a>.</p>
<p><em>Disclaimer: I asked Stephen and Eileen if they would like me to review the book. They accepted and sent me a complimentary copy which I thank them for. However, this was not in exchange for a good review &#8211; this honestly is a great book for new and more advanced Tableau users.</em></p>
<img src="http://feeds.feedburner.com/~r/DataDrivenConsulting/~4/ghbIWj3ULZ4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.datadrivenconsulting.com/2011/06/book-review-rapid-graphs-with-tableau-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.datadrivenconsulting.com/2011/06/book-review-rapid-graphs-with-tableau-software/</feedburner:origLink></item>
		<item>
		<title>Slopegraphs in Tableau</title>
		<link>http://feedproxy.google.com/~r/DataDrivenConsulting/~3/6j4E42xQ0eE/</link>
		<comments>http://www.datadrivenconsulting.com/2011/06/slopegraphs-in-tableau/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 16:17:52 +0000</pubDate>
		<dc:creator>Alex Kerin</dc:creator>
				<category><![CDATA[Data Visualization]]></category>
		<category><![CDATA[Tableau]]></category>

		<guid isPermaLink="false">http://www.datadrivenconsulting.com/?p=1077</guid>
		<description><![CDATA[In Tufte&#8217;s The Visual Display of Quantitative Information, and recently on his blog, he discusses the use of slopegraphs to show change over time. They are highly effective because you have both the text (the reader would likely want to know the individual values), the sorting, and the slope which allows you to understand the ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.datadrivenconsulting.com/wp-content/uploads/tufteslope.gif"><img class="size-thumbnail wp-image-1078 alignright" title="Slope Graphs in Visual Display" src="http://www.datadrivenconsulting.com/wp-content/uploads/tufteslope-150x150.gif" alt="" width="150" height="150" /></a>In Tufte&#8217;s The Visual Display of Quantitative Information, and recently on his <a href="http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0003nk&amp;topic_id=1">blog</a>,  he discusses the use of slopegraphs to show change over time. They are highly effective because you have both the text (the reader would likely want to know the individual values), the sorting, and the slope which allows you to understand the magnitude of change and those countries that bucked the trend of increasing over the time period.</p>
<p>Creating them however is more of a challenge. While it would seem that with some creative label calculations combined with a line chart would suffice, in this data set (and many I would suspect) the line ends are too close together (see first tab below). In fact Tufte has manipulated the positioning of the line ends and labels manually to provide some spread on the axis. This, of course, provides a challenge if you want to automate the process in any way. I approached this by calculating the start and end positioning of each country using a table calculation (see tab 2), and using this to position the countries (tab 3). Of course, this loses the slope information and only shows the position change. To add the slope back in I use a calculation that combines both the index and original value to ensure that the lines cannot end too close to each other (tab 4). I then manually moved the labels to a better position to create the final slopegraph (tab 5).<br />
<script type="text/javascript" src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script><object class="tableauViz" width="604" height="795" style="display:none;"><param name="host_url" value="http%3A%2F%2Fpublic.tableausoftware.com%2F" /><param name="name" value="SlopeGraphs&#47;1_Goodslopepoorspacing" /><param name="tabs" value="yes" /><param name="toolbar" value="no" /><param name="animate_transition" value="yes" /><param name="display_static_image" value="yes" /><param name="display_spinner" value="yes" /><param name="display_overlay" value="yes" /></object><noscript>1. Good slope, poor spacing <br /><a href="#"><img alt="1. Good slope, poor spacing " src="http:&#47;&#47;public.tableausoftware.com&#47;static&#47;images&#47;Sl&#47;SlopeGraphs&#47;1_Goodslopepoorspacing&#47;1_rss.png" height="100%" /></a></noscript>
<div style="width:604px;height:22px;padding:0px 10px 0px 0px;color:black;font:normal 8pt verdana,helvetica,arial,sans-serif;">
<div style="float:right; padding-right:8px;"><a href="http://www.tableausoftware.com/public?ref=http://public.tableausoftware.com/views/SlopeGraphs/1_Goodslopepoorspacing" target="_blank">Powered by Tableau</a></div>
</div>
<p>Comments on the workbook: 1. Note that the label calculation is has the left() statements because of issues when you use extracts &#8211; 46.8 turns into 46.8000000001 or similar. 2. I spent ages trying to get this to work, but as soon as I put the label (country plus value) on the label shelf, it would alter the table calculation (I don&#8217;t know why as it&#8217;s a string). Making the label an attribute stopped that. 3. This method affects the slope of the lines to some degree. Another option would be shift the correct slopes up and down, thus making the vertical positioning slightly wrong (EDIT: This method now appears on sheet 5a. It turns out that this is really hard to get right &#8211; the order messes up, and you end up moving everything around &#8211; try changing the parameters yourself and getting the spacing and order correct. Looking back at the original, Tufte changes the slope as per my first method).</p>
<img src="http://feeds.feedburner.com/~r/DataDrivenConsulting/~4/6j4E42xQ0eE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.datadrivenconsulting.com/2011/06/slopegraphs-in-tableau/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.datadrivenconsulting.com/2011/06/slopegraphs-in-tableau/</feedburner:origLink></item>
		<item>
		<title>Case Shiller House Price Index</title>
		<link>http://feedproxy.google.com/~r/DataDrivenConsulting/~3/GJ1NpkyY5PU/</link>
		<comments>http://www.datadrivenconsulting.com/2011/05/case-shiller-house-price-index/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 03:57:45 +0000</pubDate>
		<dc:creator>Alex Kerin</dc:creator>
				<category><![CDATA[Data Visualization]]></category>
		<category><![CDATA[Tableau]]></category>

		<guid isPermaLink="false">http://www.datadrivenconsulting.com/?p=1071</guid>
		<description><![CDATA[Standard and Poor&#8217;s Case-Shiller index was released today with disappointing indications of a double-dip recession, at least for the housing market. This provided an excellent opportunity to visualize the data they make public. Below is the seasonally adjusted data for March 2011, going back over two decades. The index is set so that all cities ...]]></description>
			<content:encoded><![CDATA[<p>Standard and Poor&#8217;s <a href="http://www.standardandpoors.com/indices/sp-case-shiller-home-price-indices/en/us/?indexId=spusa-cashpidff--p-us----">Case-Shiller index</a> was released today with disappointing indications of a double-dip recession, at least for the housing market. This provided an excellent opportunity to visualize the data they make public. </p>
<p>Below is the seasonally adjusted data for March 2011, going back over two decades. The index is set so that all cities (regardless of median selling price) are indexed at 100 for the year 2000. There are two tabs on the visualization. </p>
<p>The first shows the location of the 20 metropolitan areas covered by the index with marks encoded for size by the absolute percent change of the index from the year prior, and color by the magnitude of the change (big green = big increase from last year in house prices, big red = big decrease from last year). Use page control to cycle through the years looking at the booms and busts. The sparklines below show the index and the percent change month to month, also encoded by color.You can click on a city on the map and it will filter the sparklines to cities in that region. The year on year value compares values from March 2011 to March 2010. Note the only bright spot of Washington D.C. with a positive gain. Detroit is interesting with one of the smallest decreases &#8211; sign of a recovery or that prices just can&#8217;t fall any more?</p>
<p>On the second tab are the indexes, and Year on Year charts with all of the cities overlaid. Select a city from the list to highlight it. There are some interesting things here such as Dallas which has had a very shallow change. Compare that to Las Vegas or Phoenix. Unsurprisingly, those that rose the fastest dropped the most.<br />
<script type="text/javascript" src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script><object class="tableauViz" width="629" height="851" style="display:none;"><param name="host_url" value="http%3A%2F%2Fpublic.tableausoftware.com%2F" /><param name="name" value="caseshiller&#47;MapView" /><param name="tabs" value="yes" /><param name="toolbar" value="no" /><param name="animate_transition" value="yes" /><param name="display_static_image" value="yes" /><param name="display_spinner" value="yes" /><param name="display_overlay" value="yes" /></object><noscript>Map View <br /><a href="#"><img alt="Map View " src="http:&#47;&#47;public.tableausoftware.com&#47;static&#47;images&#47;ca&#47;caseshiller&#47;MapView&#47;1_rss.png" height="100%" /></a></noscript>
<div style="width:629px;height:22px;padding:0px 10px 0px 0px;color:black;font:normal 8pt verdana,helvetica,arial,sans-serif;">
<div style="float:right; padding-right:8px;"><a href="http://www.tableausoftware.com/public?ref=http://public.tableausoftware.com/views/caseshiller/MapView" target="_blank">Powered by Tableau</a></div>
</div>
<img src="http://feeds.feedburner.com/~r/DataDrivenConsulting/~4/GJ1NpkyY5PU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.datadrivenconsulting.com/2011/05/case-shiller-house-price-index/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.datadrivenconsulting.com/2011/05/case-shiller-house-price-index/</feedburner:origLink></item>
		<item>
		<title>Exploring Data in a Single Chart</title>
		<link>http://feedproxy.google.com/~r/DataDrivenConsulting/~3/7dThintBgd4/</link>
		<comments>http://www.datadrivenconsulting.com/2011/05/exploring-data-in-a-single-chart/#comments</comments>
		<pubDate>Tue, 31 May 2011 02:51:16 +0000</pubDate>
		<dc:creator>Alex Kerin</dc:creator>
				<category><![CDATA[Data Visualization]]></category>
		<category><![CDATA[Tableau]]></category>

		<guid isPermaLink="false">http://www.datadrivenconsulting.com/?p=1064</guid>
		<description><![CDATA[Chandoo&#8217;s excellent Excel and Data blog has a data challenge to win a Kindle. I&#8217;m not entering but thought I&#8217;d show what Tableau can do with just a few hours of work. The challenge was to create a single chart that showed the data story the best. Below is what I think works, but the ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://chandoo.org/wp/2011/05/30/product-sales-visualization-challenge/">Chandoo&#8217;s</a> excellent Excel and Data blog has a data challenge to win a Kindle. I&#8217;m not entering but thought I&#8217;d show what Tableau can do with just a few hours of work. The challenge was to create a single chart that showed the data story the best. Below is what I think works, but the visualization also provides the ability to look at the data in different ways (running sum, difference from prior month, and so on) to explore it further (can this still be considered a single chart?).</p>
<p>This workbook has some interesting hacks for Tableau concerning using Measure Values &#8211; for example because of my method of flipping between the aggregations means that I can&#8217;t show the axis as percent when required, I multiply the field by 100 and put a custom number format of 0.0&#8243;%&#8221; to fake a percent label. Using this Measure Values method is also useful when you need want the ability to flip between different window partitions.<br />
<script type="text/javascript" src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script><object class="tableauViz" width="604" height="669" style="display:none;"><param name="host_url" value="http%3A%2F%2Fpublic.tableausoftware.com%2F" /><param name="name" value="OneChart&#47;ChartDisplay" /><param name="tabs" value="no" /><param name="toolbar" value="no" /><param name="animate_transition" value="yes" /><param name="display_static_image" value="yes" /><param name="display_spinner" value="yes" /><param name="display_overlay" value="yes" /></object><noscript>Chart Display <br /><a href="#"><img alt="Chart Display " src="http:&#47;&#47;public.tableausoftware.com&#47;static&#47;images&#47;On&#47;OneChart&#47;ChartDisplay&#47;1_rss.png" height="100%" /></a></noscript>
<div style="width:604px;height:22px;padding:0px 10px 0px 0px;color:black;font:normal 8pt verdana,helvetica,arial,sans-serif;">
<div style="float:right; padding-right:8px;"><a href="http://www.tableausoftware.com/public?ref=http://public.tableausoftware.com/views/OneChart/ChartDisplay" target="_blank">Powered by Tableau</a></div>
</div>
<img src="http://feeds.feedburner.com/~r/DataDrivenConsulting/~4/7dThintBgd4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.datadrivenconsulting.com/2011/05/exploring-data-in-a-single-chart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.datadrivenconsulting.com/2011/05/exploring-data-in-a-single-chart/</feedburner:origLink></item>
		<item>
		<title>The US has 3 years of Oil in the ground: Oil exports, imports, and consumption</title>
		<link>http://feedproxy.google.com/~r/DataDrivenConsulting/~3/1e1uOsmM920/</link>
		<comments>http://www.datadrivenconsulting.com/2011/05/the-us-has-3-years-of-oil-in-the-ground-oil-exports-imports-and-consumption/#comments</comments>
		<pubDate>Fri, 27 May 2011 19:44:13 +0000</pubDate>
		<dc:creator>Alex Kerin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.datadrivenconsulting.com/?p=1051</guid>
		<description><![CDATA[Many people are unaware of the massive amount of oil and refined petroleum that is shipped and consumed around the word. Every day, there are approximately 84 million barrels of oil used. Every day. 3.5 billion gallons, 5345 Olympic swimming pools, 13 Empire State Buildings. Quite unbelievable. To understand who is using the oil, where it&#8217;s coming from, and ...]]></description>
			<content:encoded><![CDATA[<p>Many people are unaware of the massive amount of oil and refined petroleum that is shipped and consumed around the word. Every day, there are approximately 84 million barrels of oil used. Every day. 3.5 billion gallons, 5345 Olympic swimming pools, 13 Empire State Buildings. Quite unbelievable.</p>
<p>To understand who is using the oil, where it&#8217;s coming from, and what would happen if oil exports ground to a stop I retrieved data from <a href="http://www.eia.gov/countries/" target="_blank">US Energy Information Administration</a>. The visualization is held on 3 tabs. The first allows you to explore where the oil is coming from, and where it goes. Sparklines and sorted tables allow for quick understanding of the data. The second concerns reserves of oil, and the third allows us to see how countries&#8217; use is changing as their population changes over time. Some highlights:</p>
<ul>
<li>Many countries decreased the amount of oil imported in the last year of complete data (2009), probably due to the global recession. China and India are among the top importers bucking this trend.</li>
<li>You can normalize imports/exports by population; this creates some interesting anomalies such as the Virgin Islands which have massive per capita imports of crude (and massive per capita exports of refined) due to the <a title="Oil Refinery" href="http://en.wikipedia.org/wiki/HOVENSA" target="_blank">Hovensa </a>oil refinery on St. Croix.</li>
<li>On the second tab &#8211; everyone knows about the Middle East, but Canada, Venezuela, Libya and Nigeria have very significant reserves &#8211; selecting just a specific region allows exploration of each country</li>
<li>If countries had to depend on their own reserves (assuming all oil is accessible, and consumption doesn&#8217;t change &#8230;) the results are surprising &#8211; the US has under three years of oil, whereas Chad has over 2050 left. Select the drop down to switch between years left and total reserves</li>
<li>The third tab shows how consumption has changed with time and population. You can use the page controls to cycle through the years. Note the general upwards trend. Select just Asia and look at the tracks &#8211; how China&#8217;s population hasn&#8217;t grown as quite quickly as India&#8217;s, but consumption has increased much more. The size of the the mark is proportional to the consumption per capita &#8211; notice how small China&#8217;s is compared to Singapore&#8217;s</li>
</ul>
<p>You can interact with the smaller version of the dashboard below, or go the full size one <a title="Big Version" href="http://public.tableausoftware.com/views/energy_2/ExportersandImporters" target="_blank">here</a>.</p>
<p><script type="text/javascript" src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script><object class="tableauViz" width="629" height="895" style="display:none;"><param name="host_url" value="http%3A%2F%2Fpublic.tableausoftware.com%2F" /><param name="name" value="energy_2&#47;ExportersandImporters" /><param name="tabs" value="yes" /><param name="toolbar" value="no" /><param name="animate_transition" value="yes" /><param name="display_static_image" value="yes" /><param name="display_spinner" value="yes" /><param name="display_overlay" value="yes" /></object><noscript>Exporters and Importers <br /><a href="#"><img alt="Exporters and Importers " src="http:&#47;&#47;public.tableausoftware.com&#47;static&#47;images&#47;en&#47;energy_2&#47;ExportersandImporters&#47;1_rss.png" height="100%" /></a></noscript>
<div style="width:629px;height:22px;padding:0px 10px 0px 0px;color:black;font:normal 8pt verdana,helvetica,arial,sans-serif;">
<div style="float:right; padding-right:8px;"><a href="http://www.tableausoftware.com/public?ref=http://public.tableausoftware.com/views/energy_2/ExportersandImporters" target="_blank">Powered by Tableau</a></div>
</div>
<address>Methodology: <a title="EIA Data source" href="http://www.eia.gov/countries/" target="_blank">Data </a>was held in separate tables on the government website. I cleaned these in the excellent <a title="Data Wrangler" href="http://vis.stanford.edu/wrangler/">Data Wrangler</a>, removing blank lines and  reshaping the data so that the year was not held in separate columns. The resulting data was brought into Tableau and the tables tied together by establishing joins between the countries and years. This was much more efficient than using data blending techniques and quicker than making a master table. Only a little cleanup was needed in Tableau, mostly around country names (South Korea, Korea, South). Fifteen or so calculations were created, and advanced visualization techniques like bar charts in the tooltips created &#8211; hover over Canada for example (thank you <a title="Andy's post on the Tableau website" href="http://www.tableausoftware.com/public/blog/2010/09/using-bar-charts-tooltips" target="_blank">Andy Cotgreave</a>). </address>
<img src="http://feeds.feedburner.com/~r/DataDrivenConsulting/~4/1e1uOsmM920" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.datadrivenconsulting.com/2011/05/the-us-has-3-years-of-oil-in-the-ground-oil-exports-imports-and-consumption/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		<feedburner:origLink>http://www.datadrivenconsulting.com/2011/05/the-us-has-3-years-of-oil-in-the-ground-oil-exports-imports-and-consumption/</feedburner:origLink></item>
		<item>
		<title>Unemployment Rates 1982 to 2011: Dorling Cartogram</title>
		<link>http://feedproxy.google.com/~r/DataDrivenConsulting/~3/Ng2ZqCfkjrI/</link>
		<comments>http://www.datadrivenconsulting.com/2011/05/unemployment-rates-1982-to-2011-dorling-cartogram/#comments</comments>
		<pubDate>Tue, 24 May 2011 02:20:38 +0000</pubDate>
		<dc:creator>Alex Kerin</dc:creator>
				<category><![CDATA[Data Visualization]]></category>
		<category><![CDATA[Protovis]]></category>

		<guid isPermaLink="false">http://www.datadrivenconsulting.com/?p=1046</guid>
		<description><![CDATA[I&#8217;ve updated the Dorling Cartogram on unemployment rates by state to include 2010 and data from April of 2011. As you can see the massive explosion of unemployment rate in 2009 has tempered slightly since then. The data is from the Bureau of Labor Statistics, and rendered using Protovis. As before, you&#8217;ll need an SVG ...]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve <a href="http://datadrivenconsulting.com/js/protovis/cartogramemp11.html" target="_blank">updated</a> the Dorling Cartogram on unemployment rates by state to include 2010 and data from April of 2011. As you can see the massive explosion of unemployment rate in 2009 has tempered slightly since then. The data is from the Bureau of Labor Statistics, and rendered using Protovis. As before, you&#8217;ll need an SVG compliant browser.</p>
<p><a title="Live Version of the Cartogram" href="http://datadrivenconsulting.com/js/protovis/cartogramemp11.html" target="_blank"><img class="alignleft size-large wp-image-1047" style="float: left; border: 0px initial initial;" title="Dorling cartogram of unemployment" src="http://www.datadrivenconsulting.com/wp-content/uploads/still-600x534.png" alt="" width="600" height="534" /></a></p>
<img src="http://feeds.feedburner.com/~r/DataDrivenConsulting/~4/Ng2ZqCfkjrI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.datadrivenconsulting.com/2011/05/unemployment-rates-1982-to-2011-dorling-cartogram/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.datadrivenconsulting.com/2011/05/unemployment-rates-1982-to-2011-dorling-cartogram/</feedburner:origLink></item>
		<item>
		<title>Wave Pendulum</title>
		<link>http://feedproxy.google.com/~r/DataDrivenConsulting/~3/zzYhmFetC_o/</link>
		<comments>http://www.datadrivenconsulting.com/2011/05/wave-pendulum/#comments</comments>
		<pubDate>Sun, 01 May 2011 22:53:02 +0000</pubDate>
		<dc:creator>Alex Kerin</dc:creator>
				<category><![CDATA[Data Visualization]]></category>

		<guid isPermaLink="false">http://www.datadrivenconsulting.com/?p=1039</guid>
		<description><![CDATA[I find this&#8230; pleasing. Edit: Richard Leeke made a Tableau version (see comments below). Tableau Public doesn&#8217;t animate it automatically, so download the workbook to see the effect best. Wave Pendulum Powered by Tableau]]></description>
			<content:encoded><![CDATA[<p>I find this&#8230; pleasing.</p>
<p><iframe width="600" height="480" src="http://www.youtube.com/embed/yIkyPFLkNCQ" frameborder="0" allowfullscreen></iframe></p>
<p>Edit: Richard Leeke made a Tableau version (see comments below). Tableau Public doesn&#8217;t animate it automatically, so download the workbook to see the effect best.<br />
<script type="text/javascript" src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script><object class="tableauViz" width="604" height="550" style="display:none;"><param name="host_url" value="http%3A%2F%2Fpublic.tableausoftware.com%2F" /><param name="name" value="WavePendulum&#47;WavePendulum" /><param name="tabs" value="no" /><param name="toolbar" value="no" /><param name="animate_transition" value="yes" /><param name="display_static_image" value="yes" /><param name="display_spinner" value="yes" /><param name="display_overlay" value="yes" /><param name="filter" value="amp;:toolbar=yes" /><param name="filter" value="amp;:tabs=no" /></object><noscript>Wave Pendulum <br /><a href="#"><img alt="Wave Pendulum " src="http:&#47;&#47;public.tableausoftware.com&#47;static&#47;images&#47;Wa&#47;WavePendulum&#47;WavePendulum&#47;1_rss.png" height="100%" /></a></noscript>
<div style="width:604px;height:22px;padding:0px 10px 0px 0px;color:black;font:normal 8pt verdana,helvetica,arial,sans-serif;">
<div style="float:right; padding-right:8px;"><a href="http://www.tableausoftware.com/public?ref=http://public.tableausoftware.com/views/WavePendulum/WavePendulum" target="_blank">Powered by Tableau</a></div>
</div>
<img src="http://feeds.feedburner.com/~r/DataDrivenConsulting/~4/zzYhmFetC_o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.datadrivenconsulting.com/2011/05/wave-pendulum/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.datadrivenconsulting.com/2011/05/wave-pendulum/</feedburner:origLink></item>
	</channel>
</rss>

