<?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:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
<title>Clearly and Simply</title>
<link>http://www.clearlyandsimply.com/clearly_and_simply/</link>
<description>Intelligent Data Analysis, Modeling, Simulation and Visualization</description>
<language>en-US</language>
<lastBuildDate>Tue, 27 Jul 2010 22:00:00 +0200</lastBuildDate>
<generator>http://www.typepad.com/</generator>

<docs>http://www.rssboard.org/rss-specification</docs>
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/ClearlyAndSimply" /><feedburner:info uri="clearlyandsimply" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by-nc-sa/3.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><feedburner:emailServiceId>ClearlyAndSimply</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
<title>The Revenue Potential of Billing Increments</title>
<link>http://feedproxy.google.com/~r/ClearlyAndSimply/~3/X6ZUKD18M-8/the-revenue-potential-of-billing-increments.html</link>
<guid isPermaLink="false">http://www.clearlyandsimply.com/clearly_and_simply/2010/07/the-revenue-potential-of-billing-increments.html</guid>
<description>A Microsoft Excel simulation model to reveal the revenue potential of billing increments in mobile or fixed-line tariffs.</description>
<content:encoded><![CDATA[<h3><strong>A Microsoft Excel simulation model to reveal the revenue potential of billing increments in mobile or fixed-line tariffs</strong></h3> <p><a href="http://www.clearlyandsimply.com/.a/6a00e554d9fb9988330133f29b1300970b-pi"><img align="left" alt="Billing Increment Simulation Dashboard - click to enlarge" border="0" class="wlDisabledImage " height="178" src="http://www.clearlyandsimply.com/.a/6a00e554d9fb998833013485bf5bca970c-pi" style="border-width: 0px; margin: 0px 15px 0px 0px; display: inline;" title="Billing Increment Simulation Dashboard - click to enlarge" width="260" /></a>Be honest: do you know which incremental billing model is included in your mobile phone or fixed line tariff? No worries, I suppose most people do not know. However, incremental billing models represent a considerable part of mobile or fixed line operators’ revenues. </p> <p>But what is incremental billing? It means that carriers are pricing calls in slices longer than a second. Full minute billing means – for instance – that you are paying two full minutes, although your call was only 61 seconds long. </p> <p>How big is this effect of additional revenues? How much revenues do carriers make by using incremental billing? </p> <p>Today’s post presents a simulation model to reveal and evaluate the revenue potential of different billing increment models. As always including the Microsoft Excel workbook for free download.</p>  <h4><strong>The background</strong></h4> <p>What does incremental billing mean exactly? A billing increment is the smallest slice of a call a carrier will charge. Billing increment models usually have a nomenclature consisting of two numbers: </p> <ul>
 <li>Model 1/1 means a true per second billing: talk for 20 seconds, pay for 20 seconds. </li>
 <li>Model 60/1 means a minimum of 60 seconds and per second billing beyond the first minute. Talk for 20 seconds, pay for 60 seconds, talk for 61 seconds, pay for 61 seconds. </li>
 <li>Model 60/60 means full minute charging: talk for 20 seconds, pay for one minute, talk for 61 seconds, pay for two minutes and so forth. </li>
 </ul>
 <p>These are the most common ones. However there are a variety of others (60/30, 10/10, 6/6, 18/6, etc.), working accordingly.</p> <p>Let’s call a spade a spade. If you are having a tariff with a billing increment larger than one second, you will pay for air-time you never used. The effect of billing increments on the total amount of your phone bill depends not only on the incremental billing model, but also on the distribution of the call durations: the more short duration calls you have, the higher the impact and vice versa.</p> <p>So, billing increments mean additional revenue potential for the carriers. But how large is this potential? How big are the additional revenues of different billing increments? A simulation model will help us to answer this question.</p> <p><strong></strong></p> <h4><strong>The probability of call durations</strong></h4> <p><a href="http://www.clearlyandsimply.com/.a/6a00e554d9fb9988330133f29b133a970b-pi"><img align="left" alt="Required Probability Function - click to enlarge" border="0" class="wlDisabledImage " height="166" src="http://www.clearlyandsimply.com/.a/6a00e554d9fb998833013485bf5bfa970c-pi" style="border-width: 0px; margin: 0px 15px 0px 0px; display: inline;" title="Required Probability Function - click to enlarge" width="260" /></a>First and foremost, the additional revenue potential of a billing increment model depends on the call duration distribution, i.e. what is the probability of any given call duration? </p> <p>For sure, this will be a positive or right skewed function as shown in the screenshot on the left. The mass of the distribution is concentrated on shorter call durations, e.g. a call lasting 3 minutes is more likely than a call lasting 30 minutes. </p> <p>One function that reflects this is a <a href="http://en.wikipedia.org/wiki/Log-normal_distribution">log-normal distribution</a>, i.e. a probability distribution of a variable whose logarithm is normally distributed. There are other options as well (like the <a href="http://en.wikipedia.org/wiki/Weibull_distribution">Weibull distribution</a>), but the log-normal distribution will do the job in our simulation model.</p> <h4><strong>The implementation and the calculations</strong></h4> <p>The simulation workbook consists of only two worksheets: the dashboard (see next section) and the calculation worksheet.</p> <p>The used formulas on the sheet calculations are not too complex. There is one formula to create the log-normal probability function using the functions <em>NORMDIST</em> and <em>LN</em>. The formulas calculating the billable seconds per model use the functions <em>QUOTIENT</em> and <em>MOD</em>, but I think they are still pretty straight forward and easy to understand. To support the visualizations on the dashboard, there are some more calculations using <em>MAX</em>, <em>MEDIAN</em>, <em>VLOOKUP</em>, <em>INDEX</em> and <em>MATCH</em>, but still no rocket science. Everything else are simple basic arithmetical operations. </p> <p>I am sure you will easily figure out how this works without further explanations.</p> <p>For the sake of completeness: to limit the workbook to a reasonable size, the simulation is restricted to call durations up to 1,800 seconds, i.e. 30 minutes. Agreed a limitation, but no great effect on the results because of the right-skewness of the probability function.</p> <h4><strong>The visualization</strong></h4> <p><a href="http://www.clearlyandsimply.com/.a/6a00e554d9fb9988330133f29b136a970b-pi"><img align="left" alt="Billing Increment Probability Function - click to enlarge" border="0" class="wlDisabledImage " height="172" src="http://www.clearlyandsimply.com/.a/6a00e554d9fb9988330133f29b13db970b-pi" style="border-width: 0px; margin: 0px 15px 0px 0px; display: inline;" title="Billing Increment Probability Function - click to enlarge" width="260" /></a>The probability function of the call duration is visualized using a standard XY scatter chart and 3 additional points to display the most important values at a glance: </p> <p>the mode (the call duration that occurs most frequently), the median (50% of all calls are shorter, 50% are longer than the median) and the average call duration.</p> <br /> <p><a href="http://www.clearlyandsimply.com/.a/6a00e554d9fb9988330133f29b140d970b-pi"><img align="left" alt="Distribution Function - click to enlarge" border="0" class="wlDisabledImage " height="176" src="http://www.clearlyandsimply.com/.a/6a00e554d9fb998833013485bf5d14970c-pi" style="border-width: 0px; margin: 0px 15px 0px 0px; display: inline;" title="Distribution Function - click to enlarge" width="260" /></a>The distribution function shows the cumulative probabilities, i.e. the probability that a call is less or equal than a given call duration. The according chart (see left) visualizes how fast the probabilities converge to 100%. Again, this is an XY scatter chart and the additional point highlights and displays the threshold, where 80% of all calls are shorter or equal than this call duration. </p> <br /> <p><a href="http://www.clearlyandsimply.com/.a/6a00e554d9fb9988330133f29b145e970b-pi"><img align="left" alt="Additional Seconds Area Chart - click to enlarge" border="0" class="wlDisabledImage " height="140" src="http://www.clearlyandsimply.com/.a/6a00e554d9fb9988330133f29b1466970b-pi" style="border-width: 0px; margin: 0px 15px 0px 0px; display: inline;" title="Additional Seconds Area Chart - click to enlarge" width="260" /></a>An area chart compares all billing increment models and visualizes the additional revenues compared to the model 1/1. This chart visualizes the way the models are working and at which call durations the most additional revenue is made.</p> <br /> <p><a href="http://www.clearlyandsimply.com/.a/6a00e554d9fb998833013485bf5d49970c-pi"><img align="left" alt="Additional Seconds Bar Chart - click to enlarge" border="0" class="wlDisabledImage " height="143" src="http://www.clearlyandsimply.com/.a/6a00e554d9fb998833013485bf5d57970c-pi" style="border-width: 0px; margin: 0px 15px 0px 0px; display: inline;" title="Additional Seconds Bar Chart - click to enlarge" width="260" /></a>Finally, a very simple table and bar chart displays the most important results: how much additional revenue is made by each model compared to a billing per second (model 1/1). Furthermore, the user of the simulation workbook is able to define his own models by changing the values of the first and the following billing increments in seconds.</p> <h4><strong>The simulation</strong></h4> <p>The simulation part of the model focuses on the call duration probability function. By changing the mean and the standard deviation of the log-normal distribution (using the sliders), you may change the shape of function and see immediately the impacts of your changes on the dashboard. </p> <p>The workbook is restricted to 5 different billing increment models. However, you can easily change the predefined models by typing in new values for the first and the following bill increments in the cells M27:N31 on the dashboard. Thus you can adapt the simulation to your own requirements and what you consider to be reasonable.</p> <h4><strong>The results</strong></h4> <p>Here are two examples of simulation results:</p> <p>Let’s select a mean of the log-normal distribution of 6 and a standard deviation of 1.1. Most calls have a duration of 117 seconds, the median is 300 seconds and the average duration of a call is 488 seconds. A billing increment model 60/60 results in 6% higher revenues for the carrier than a model charging per seconds air-time (i.e. model 1/1). Not too bad, in my humble opinion.</p> <p>If you choose a less right skewed distribution (mean: 6.4, standard deviation: 0.7), most calls last 363 seconds, the median is 411 seconds and the average call duration is 659 seconds (i.e. almost 11 minutes on average). The model 60/60 still produces 4.5% more revenues than a billing increment model 1/1. </p> <p>Please be advised that both examples are arbitrarily chosen examples. I would assume they might represent reasonable probability functions. However, the parameters are made up, i.e. the given distribution is <strong>not</strong> based on real data of a real carrier.</p> <h4><strong>The dashboard and the download link</strong></h4> <p>Here is a larger screenshot of the one-page interactive simulation dashboard: </p> <p><a href="http://www.clearlyandsimply.com/.a/6a00e554d9fb998833013485bf5d69970c-pi"><img alt="Billing Increment Simulation Dashboard - click to enlarge" border="0" class="wlDisabledImage " height="349" src="http://www.clearlyandsimply.com/.a/6a00e554d9fb9988330133f29b148b970b-pi" style="border-width: 0px; display: inline;" title="Billing Increment Simulation Dashboard - click to enlarge" width="520" /></a></p> <p>And here is the Microsoft Excel workbook for free download: </p> <p style="text-align: center;"><a href="http://www.clearlyandsimply.com/files/2010/07/simulation_billing_increment.zip">Download Simulation Billing Increment (Microsoft Excel 2003, zipped 425.8K)</a></p> <span style="font-size: 14px;"><strong><span style="font-size: 14px;">What’s next?</span></strong></span> <p>Using mathematical functions in Microsoft Excel simulation and planning models are a very interesting topic. I am planning to write one more post on this during the next weeks. Furthermore I am having some more Tableau tips and workbooks in the pipeline. </p> <p>Stay tuned.</p><img src="http://feeds.feedburner.com/~r/ClearlyAndSimply/~4/X6ZUKD18M-8" height="1" width="1"/>]]></content:encoded>


<category>Microsoft Excel</category>
<category>Simulation</category>

<dc:creator>Robert</dc:creator>
<pubDate>Tue, 27 Jul 2010 22:00:00 +0200</pubDate>

<feedburner:origLink>http://www.clearlyandsimply.com/clearly_and_simply/2010/07/the-revenue-potential-of-billing-increments.html</feedburner:origLink></item>
<item>
<title>FIFA World Cup Scorers Statistics with Tableau</title>
<link>http://feedproxy.google.com/~r/ClearlyAndSimply/~3/hO4We2mzOeY/fifa-world-cup-scorers-statistics-with-tableau.html</link>
<guid isPermaLink="false">http://www.clearlyandsimply.com/clearly_and_simply/2010/06/fifa-world-cup-scorers-statistics-with-tableau.html</guid>
<description>FIFA World Cup scorers statistics by team and tournament from 1930 to 2006 visualized with Tableau Software</description>
<content:encoded><![CDATA[<h3><strong>FIFA World Cup scorers statistics by team and tournament from 1930 to 2006 visualized with Tableau Software</strong></h3> <p><a href="http://www.clearlyandsimply.com/.a/6a00e554d9fb9988330133f184a913970b-pi"><img align="left" alt="FIFA World Cup Scorers Stats per Tournament - click to enlarge" border="0" height="135" src="http://www.clearlyandsimply.com/.a/6a00e554d9fb9988330133f184a91b970b-pi" style="border-width: 0px; margin: 0px 15px 0px 0px; display: inline;" title="FIFA World Cup Scorers Stats per Tournament - click to enlarge" width="260" /></a>The recent article <a href="http://www.clearlyandsimply.com/clearly_and_simply/2010/06/fifa-world-cup-statistics-with-tableau.html">FIFA World Cup Statistics with Tableau</a> included a dashboard visualizing statistics of the FIFA World Cups from 1930 to 2006 by team, provided on <a href="http://public.tableausoftware.com/views/fifa_world_cup_statistics/WorldCupStatsperTeam">Tableau Public</a>.</p> <p>Today’s post is a follow-up to that article: FIFA World Cup scorers statistics from 1930 to 2006 on two different dashboards. </p>  <h4><strong>The data source</strong></h4> <p>The scorers data is coming from the same source I already used in the <a href="http://www.clearlyandsimply.com/clearly_and_simply/2010/06/fifa-world-cup-statistics-with-tableau.html">previous article</a>: the official website of the FIFA: <a href="http://www.fifa.com/worldcup/archive/index.html">FIFA.com - Previous FIFA World Cups™</a></p> <h4><strong>Dashboard 1: Scorers Statistics per Team</strong></h4> <p>This dashboard visualizes the scorers’ performance of one selected team during one or several tournaments:</p> <ul>
 <li>select one team from a drop down list and one or several tournaments </li>
 <li>visualize matches played and minutes played per player (scorer) using sorted bar charts </li>
 <li>visualize the wins, draws and losses per scorer using a sorted stacked bar chart </li>
 <li>visualize different measures regarding goals, shots, corners, etc. per scorer (bar charts again) </li>
 <li>visualize activity (shots vs. minutes played) and effectivity (goals vs. minutes played) of scorers using scatter charts </li>
 </ul>
 <p>Here is the dashboard:</p> <p><a href="http://public.tableausoftware.com/views/fifa_world_cup_scorers_stats_per_team/FIFAWCScorersStatsperTeam"><img alt="FIFA World Cup Statistics - click to open the interactive visualization on Tableau Public" border="0" height="260" src="http://www.clearlyandsimply.com/.a/6a00e554d9fb9988330133f184a922970b-pi" style="border-width: 0px; margin: 10px auto 0px; display: block; float: none;" title="FIFA World Cup Statistics - click to open the interactive visualization on Tableau Public" width="520" /></a></p> <em></em><em></em><em></em><em></em> <p><em></em></p> <p style="text-align: center;"><em>[click on the image to open the interactive visualization on Tableau Public]</em></p> <h4><strong>Dashboard 2: Scorers Statistics per Tournament</strong></h4> <p>This dashboard uses the same data source, but it slices the data in a different way: the global filter is the tournament now, i.e. the visualizations compare all scorers of all teams for one selected FIFA World Cup. After selecting one tournament from a drop down list, the dashboard displays the same measures using the same types of visualizations as on dashboard 1 (except for the activity scatter plot). This time however, all scorers of all teams are shown, including the team names.</p> <p>Here is the dashboard:</p> <em></em><em></em><em></em><em></em><strong></strong><strong></strong> <h4><strong><a href="http://public.tableausoftware.com/views/fifa_world_cup_scorers_stats_per_tournament/FIFAWCScorersStatsperTournament"><img alt="FIFA World Cup Statistics - click to open the interactive visualization on Tableau Public" border="0" height="260" src="http://www.clearlyandsimply.com/.a/6a00e554d9fb998833013484ac7d5d970c-pi" style="border-width: 0px; margin: 10px auto; display: block; float: none;" title="FIFA World Cup Statistics - click to open the interactive visualization on Tableau Public" width="520" /></a> </strong></h4> <h4><strong></strong></h4> <h4><strong></strong></h4> <h4><strong></strong></h4> <h4><strong></strong></h4> <h4><strong></strong></h4> <h4><strong></strong></h4> <h4><strong></strong></h4> <h4><strong></strong></h4> <p style="text-align: center;"><em>[click on the image to open the interactive visualization on Tableau Public]</em></p> <h4><strong></strong></h4> <h4><strong>The Limitations</strong></h4> <p>Please be advised that the limitations (incomplete data source, consolidated team names, missing flags) described in the previous article also apply to the 2 dashboards above (details see here: <a href="http://www.clearlyandsimply.com/clearly_and_simply/2010/06/fifa-world-cup-statistics-with-tableau.html">FIFA World Cup Statistics with Tableau</a>).</p> <h4><strong>What’s next?</strong></h4> <p>I am still planning to write one or two posts on Custom Shapes of Tableau. However, the FIFA World Cup 2010 is still ongoing, so I am a tempted to do another football visualization first.</p> <p>Stay tuned.</p><img src="http://feeds.feedburner.com/~r/ClearlyAndSimply/~4/hO4We2mzOeY" height="1" width="1"/>]]></content:encoded>


<category>Tableau</category>
<category>Visualization</category>

<dc:creator>Robert</dc:creator>
<pubDate>Sun, 20 Jun 2010 23:00:00 +0200</pubDate>

<feedburner:origLink>http://www.clearlyandsimply.com/clearly_and_simply/2010/06/fifa-world-cup-scorers-statistics-with-tableau.html</feedburner:origLink></item>
<item>
<title>Tableau Replica of Curtis Steiner&amp;rsquo;s 1,000 Blocks</title>
<link>http://feedproxy.google.com/~r/ClearlyAndSimply/~3/W8fHZwOXVTg/tableau-replica-of-curtis-steiners-1000-blocks.html</link>
<guid isPermaLink="false">http://www.clearlyandsimply.com/clearly_and_simply/2010/06/tableau-replica-of-curtis-steiners-1000-blocks.html</guid>
<description>Visualization of Curtis Steiner's 1,000 walnut blocks sculpture using Tableau Software. Based on and using the data of Daniel Ferry’s Celtic muse Excel workbook.</description>
<content:encoded><![CDATA[<h3>Emulation of Daniel Ferry’s Celtic muse Excel workbook using Tableau Software</h3> <p>Daniel Ferry’s blog <a href="http://excelhero.com/blog/" target="_blank">Excel Hero</a> is a source of permanent inspiration for me. In a recent article called <a href="http://www.clearlyandsimply.com/clearly_and_simply/2010/04/animate-cumulative-data-with-tableau.html">Animate cumulative data with Tableau</a>, I described how to use a custom SQL data connection to show cumulative data using Tableau’s page shelf. This post was inspired by one of Daniel’s great articles: <a href="http://www.excelhero.com/blog/2010/04/excel-location-mapping.html">Excel Location Mapping</a>.</p> <p>In true tradition of stealing Daniel’s ideas, today’s short post contains another replica of one of his Excel workbooks using Tableau Software: Daniel’s <a href="http://www.excelhero.com/blog/2010/05/excel-animated-chart-2.html">implementation</a> of the <a href="http://www.curtissteiner.com/blocks/"><em>&quot;1,000 Blocks&quot;</em> sculpture by Curtis Steiner</a> (unfortunately without the soundtrack, of course…).</p> <p>Here is an animation of a selection of 10 out of 78 slides:</p> <p><img alt="1,000 blocks" height="200" src="http://www.clearlyandsimply.com/.a/6a00e554d9fb9988330133f1764e41970b-pi" style="margin: 15px auto; display: block; float: none;" title="1,000 blocks" width="500" /> </p> <p>Tableau Public does not support the slide show of pages using the playback controls. Thus, I decided not to publish on Tableau Public. Instead, here is the Tableau packaged workbook for free download:</p> <p style="text-align: center;"><a href="http://www.clearlyandsimply.com/files/2010/06/1000_blocks_celticmuse.twbx">Download 1,000 Blocks Celtic Muse (Tableau Packaged Workbook, 2640.7K)</a></p> <p style="text-align: left;">To open this workbook you need Tableau 5.2 (<a href="http://www.tableausoftware.com/products/trial" target="_blank">14-day free trial</a>) or the free <a href="http://www.tableausoftware.com/products/reader" target="_blank">Tableau Reader</a>.</p> <p>Last, but not least: </p> <p>Daniel, many thanks again for sharing your fabulous work, for the time you took to review my Tableau workbook and for your permission to use your idea here. Special thanks go also to Daniel’s wife and daughter who helped him with the encoding of 78,000 (!) tiles. Thank you very much.</p><img src="http://feeds.feedburner.com/~r/ClearlyAndSimply/~4/W8fHZwOXVTg" height="1" width="1"/>]]></content:encoded>


<category>Tableau</category>
<category>Visualization</category>

<dc:creator>Robert</dc:creator>
<pubDate>Fri, 18 Jun 2010 21:00:00 +0200</pubDate>

<feedburner:origLink>http://www.clearlyandsimply.com/clearly_and_simply/2010/06/tableau-replica-of-curtis-steiners-1000-blocks.html</feedburner:origLink></item>
<item>
<title>FIFA World Cup Statistics with Tableau</title>
<link>http://feedproxy.google.com/~r/ClearlyAndSimply/~3/9wQlmzUgepo/fifa-world-cup-statistics-with-tableau.html</link>
<guid isPermaLink="false">http://www.clearlyandsimply.com/clearly_and_simply/2010/06/fifa-world-cup-statistics-with-tableau.html</guid>
<description>FIFA World Cup Statistics by team from 1930 to 2006 visualized with Tableau Software</description>
<content:encoded><![CDATA[<h3><strong>FIFA World Cup statistics by team from 1930 to 2006 visualized with Tableau Software</strong></h3> <p><a href="http://www.clearlyandsimply.com/.a/6a00e554d9fb9988330134840ee963970c-pi"><img align="left" alt="World Cup Statistics per Team - click to enlarge" border="0" height="135" src="http://www.clearlyandsimply.com/.a/6a00e554d9fb9988330134840ee96e970c-pi" style="border-width: 0px; margin: 0px 15px 0px 0px; display: inline;" title="World Cup Statistics per Team - click to enlarge" width="260" /></a> I have to admit, I am a little late: The FIFA World Cup 2010 in South Africa already started yesterday. And of course there have already been a couple of interesting posts on visualizing the World Cup statistics elsewhere: </p> <p>Chandoo had a couple of nice posts using Microsoft Excel: <a href="http://chandoo.org/wp/2010/06/11/fifa-worldcup-excel-spreadsheets-roundup/" target="_blank">FIFA World Cup Excel Spreadsheets</a>, <a href="http://chandoo.org/wp/2010/06/09/football-betting-sheet/" target="_blank">Football Betting Sheet Template</a> and <a href="http://chandoo.org/wp/2010/05/28/fifa-worldcup-soccer-balls-since-1930/" target="_blank">Official FIFA World-cup Soccer Balls since 1930 in an Excel Chart</a>. </p> <p>Ross Perez provided a very interesting visualization of the <a href="http://www.tableausoftware.com/blog/history-world-cup" target="_blank">History of the World Cup</a> on Tableau’s own blog, focused on winning and tie percentages.</p> <p>Better late than never. Today’s post includes my 2 cents: a visualization of the FIFA World Cup Statistics since 1930, using Tableau Software and focused on the performance and match statistics per team. </p>  <h4><strong>The data source</strong></h4> <p>Where would you go to download FIFA World Cup raw data? Of course, the official website of the FIFA, right? So did I. Here is the link to the data source:</p> <p style="text-align: center;"><a href="http://www.fifa.com/worldcup/archive/index.html">FIFA.com - Previous FIFA World Cups™</a></p> <h4><strong>The Visualization with Tableau Software</strong></h4> <p>The basic idea of the visualization is to focus on the performance of one selected team during all World Cups:</p> <ul>
 <li>select one team from a drop down list </li>
 <li>visualize the results of this team in all World Cups </li>
 <li>visualize the wins, draws and losses per World Cup </li>
 <li>visualize the goals for and the goals against </li>
 <li>compare some match statistics like matches played, shots on goal, etc, and </li>
 <li>compare some fair play measures like yellow and red cards and fouls </li>
 </ul>
 <p>Here is the dashboard:</p> <p><a href="http://public.tableausoftware.com/views/fifa_world_cup_statistics/WorldCupStatsperTeam" target="_blank" title="FIFA World Cup Statistics - click to open the visualization on Tableau Public"><img alt="FIFA World Cup Statistics - click to open the interactive visualization on Tableau Public" border="0" height="260" src="http://www.clearlyandsimply.com/.a/6a00e554d9fb9988330134840ee97a970c-pi" style="border: 0px none; margin: 10px auto; display: block; float: none;" title="FIFA World Cup Statistics - click to open the interactive visualization on Tableau Public" width="520" /></a></p> <p style="text-align: center;"><em>[click on the image to open the interactive visualization on Tableau Public]</em></p> <h4><strong>The Limitations</strong></h4> <p>There are some specifics and limitations coming with the raw data and the visualization:</p> <ul>
 <li>Not all match statistics (e.g. like shots on goal, shots wide or free kicks, etc.) were recorded consistently from 1930 on. The source data of this visualization includes what the FIFA provides. </li>
 <li>In order to consolidate the raw data as far as possible, I decided to merge some team names. I replaced the former Soviet Union by Russia, the former Republic of Yugoslavia by Serbia, Czechoslovakia by Czech Republic, etc. Agreed, this is not really correct, but it simplifies the visualization. </li>
 <li>I am well aware of the fact that England, Scotland, Wales and Northern Ireland have flags of their own. Unfortunately those flags were not included in the icon set I used. Thus, I used the Union Jack for all of them. Not really correct, but not totally wrong. </li>
 </ul>
 <h4><strong>What’s next?</strong></h4> <p>I struggled a little bit using Custom Shapes with Tableau for this visualization. Therefore I decided to write one or two posts on Custom Shapes of Tableau: their power, their limitations and some tricks and workarounds.</p> <p>Stay tuned.</p><img src="http://feeds.feedburner.com/~r/ClearlyAndSimply/~4/9wQlmzUgepo" height="1" width="1"/>]]></content:encoded>


<category>Tableau</category>
<category>Visualization</category>

<dc:creator>Robert</dc:creator>
<pubDate>Sat, 12 Jun 2010 19:00:00 +0200</pubDate>

<feedburner:origLink>http://www.clearlyandsimply.com/clearly_and_simply/2010/06/fifa-world-cup-statistics-with-tableau.html</feedburner:origLink></item>
<item>
<title>Combine Tables and Charts on Excel Dashboards</title>
<link>http://feedproxy.google.com/~r/ClearlyAndSimply/~3/oJp6_weEmq0/combine-tables-and-charts-on-excel-dashboards.html</link>
<guid isPermaLink="false">http://www.clearlyandsimply.com/clearly_and_simply/2010/05/combine-tables-and-charts-on-excel-dashboards.html</guid>
<description>Combine Microsoft Excel tables and dasboards to visualize football league statistics on an interactive dashboard</description>
<content:encoded><![CDATA[<h3><strong>Visualize Football League statistics on an Excel Dashboard integrating charts directly into a table</strong></h3> <p><a href="http://www.clearlyandsimply.com/.a/6a00e554d9fb99883301348286267d970c-pi"><img align="left" alt="Allianz Arena - Home of FC Bayern Munich - click to enlarge" border="0" height="203" src="http://www.clearlyandsimply.com/.a/6a00e554d9fb99883301348286268a970c-pi" style="border-width: 0px; margin: 0px 15px 0px 0px; display: inline;" title="Allianz Arena - Home of FC Bayern Munich - click to enlarge" width="260" /></a> Combining tables and charts is a very powerful technique for creating Microsoft Excel dashboards. It allows you to integrate texts, values and visualizations into one table. This ensures to have the maximum of information at a glance, including a direct comparability row by row. </p> <p>I already used this technique in several posts before, like the <a href="http://www.clearlyandsimply.com/clearly_and_simply/2009/03/you-cant-start-a-fire-without-a-spark-2.html">Sparklines for XL showcase</a> or the <a href="http://www.clearlyandsimply.com/clearly_and_simply/2009/12/software-project-dashboards-episode-2.html">Software Project Dashboard examples</a>. Today’s article provides another showcase for a dashboard combining tables and charts.</p> <p>Football rules the world, especially these days. We are all impatiently waiting for the FIFA World Cup in South Africa, aren’t we? My friend Chandoo recently had a very nice <a href="http://chandoo.org/wp/2010/05/28/fifa-worldcup-soccer-balls-since-1930/">post</a> on visualizing the different footballs used in the World Championships since 1930. That’s remarkable, because Chandoo lives in India and I suppose he is more interested in cricket than football. But as I said, football rules the world these days.</p> <p>That’s why it somehow suggests itself to use a football-related visualization for today’s post. But I will not go for the FIFA World Cups. Not yet. Today’s article shows how to visualize national football league statistics using a dashboard that combines tables and charts. As always including the Microsoft Excel workbook for free download.</p> <p></p>  <h4><strong>The show case</strong></h4> <p>The idea of this show case is as simple as can be. Let’s assume we have all results of all seasons of a national football league in one Excel table, i.e. the season, the match day, the home team, the away team, the goals of the home team and the goals of the away team: </p> <p><a href="http://www.clearlyandsimply.com/.a/6a00e554d9fb9988330134828630f0970c-pi"><img alt="Raw Data Table - click to enlarge" border="0" height="172" src="http://www.clearlyandsimply.com/.a/6a00e554d9fb9988330133ef56cd0b970b-pi" style="border: 0px none; margin: 10px auto; display: block; float: none;" title="Raw Data Table - click to enlarge" width="260" /></a>The challenge is to automatically transfer this raw data into an interactive dashboard showing the actual table for any given match day in any given season, including an overview of the results of the selected match day, further statistics on the match day and some sort options: <strong></strong></p> <h4><strong><a href="http://www.clearlyandsimply.com/.a/6a00e554d9fb9988330133ef56cd4d970b-pi"><img alt="Dashboard Table - click to enlarge" border="0" height="239" src="http://www.clearlyandsimply.com/.a/6a00e554d9fb998833013482863119970c-pi" style="border: 0px none; margin: 10px auto; display: block; float: none;" title="Dashboard Table - click to enlarge" width="520" /></a>The structure of the workbook</strong></h4> <p>The workbook contains 6 worksheets:</p> <ul>
 <li>Dashboard </li>
 </ul>
 <blockquote> <p>The display: the name is self-explanatory, isn’t it? This worksheet displays the dashboard as shown in the screenshot above</p> </blockquote> <ul>
 <li>Results </li>
 </ul>
 <blockquote> <p>The raw data: all match results of several seasons (1996/97 till 2009/10 in our example) for one or several football leagues (German 1. and 2. Bundesliga in our example)</p> </blockquote> <ul>
 <li>Calculation Table </li>
 </ul>
 <blockquote> <p>The heart of the workbook: this is where the action is. The worksheet contains all data consolidation, the sorting algorithm, the set-up of the charts, the match day and overall statistics, etc.</p> </blockquote> <ul>
 <li>Calculation Results </li>
 </ul>
 <blockquote> <p>The data snapshot: this worksheet provides the relevant snapshot of the raw data, i.e. the results of the season and the league selected by the user</p> </blockquote> <ul>
 <li>Calculation Positions </li>
 </ul>
 <blockquote> <p>The history: this worksheet contains a data table with all positions of all teams during the whole season. The table is not calculated by using formulas, but rather created by a simple VBA routine</p> </blockquote> <ul>
 <li>Control </li>
 </ul>
 <blockquote> <p>The interactivity control: the worksheet stores the selection lists and the target cells for the interactive form controls on the dashboard</p> </blockquote> <p>As already explained <a href="http://www.clearlyandsimply.com/clearly_and_simply/2009/03/you-cant-start-a-fire-without-a-spark-2.html">here</a>, this reflects the structure of all my Excel models: the data, the calculations and the display on separate worksheets.</p> <h4><strong>The techniques</strong></h4> <p>Creating a football league table, additional visualizations and more statistics from the raw results requires some more complex functions and operations like <em>OFFSET</em>, <em>INDEX</em>, <em>MATCH</em>,<em> LARGE</em>, <em>SMALL</em>, array formulas and others. Furthermore a little trick is needed to implement the formula based sorting algorithm. Detailed information on the used functions can easily be found on other websites and blogs and the sorting technique is already described <a href="http://chandoo.org/wp/2008/08/27/excel-kpi-dashboard-sort-2/">here</a>. Thus, I will not go into the details of the calculations. I am rather limiting myself to the following two other techniques used in the workbook:</p> <p><strong>Technique 1 – combine tables and charts on a dashboard</strong></p> <p>The idea of integrating charts into a table is obvious. The steps to prepare your dashboards are simple:</p> <p></p> <ul>
 <li>Create a table on the dashboard </li>
 <li>Increase the height of the rows. Usually 35 points are enough </li>
 <li>Insert columns where you want to add your visualizations </li>
 <li>Increase the widths of these columns to e.g. 15 to 30 points </li>
 <li>Insert either one chart covering all rows in your table (bar charts or stacked bar charts) or one chart per cell (column charts or line charts) </li>
 </ul>
 <p>Especially for the latter, I recommend using sparklines like Fabrice’s <a href="http://sparklines-excel.blogspot.com/">Sparklines for XL</a> or Excel’s built-in sparklines (if you are already using Microsoft Excel 2010). If, for whatever reason, you do not want to use sparklines, you can create the charts using standard Excel as well. However, especially the set-up of the charts, the resizing, the positioning and the formatting is laborious work. You have to remove everything from the charts besides the visualization itself, i.e. the gridlines, the caption, the data values, the fill color of the plot area, etc. Sometimes you have to set the scaling of the axes as well. </p> <p>As I said: laborious work. Here are two tips which might save you some time:</p> <ol>
 <li>The ALT-key <br /> <br />Holding the ALT-key pressed during resizing and positioning a chart will make the edges of the chart snap to the cell grid of the Excel workbook. This helps aligning the charts. In Excel 2007 and later, this trick does not only work for the chart object itself, but also for the plot area<br />&#0160;<br /> </li>
 <li>Copy the chart and change the data source <br /> <br />If you have to create several charts (e.g. the column charts or line charts in our example), I recommend creating one chart first and doing all the formatting, axes scaling and resizing for this master. Then copy the master, change the data source of the copy and position it to the right place on your dashboard. Usually this technique is much faster than doing all the formatting again. Another option would be to create all charts, format the first one, select and copy it and paste special formats to the other ones. However, this does not transfer e.g. changes in the axes scaling to the other charts. Thus, I recommend creating a master and simply copy the chart, position the copy and change the data source. From my point of view this is much faster. </li>
 </ol>
 <p><strong>Technique 2 – use the workbook calculation and VBA for creating a history table</strong></p> <p>The basic calculation of the table is based on consolidating the results for one selected match day. However, for visualizing the team trends on the line charts, we need the positions of all teams during the last 10 match days. Of course you could add additional 9 calculation worksheets referring to the according match day. However, this would bloat your workbook, make it harder to maintain and probably decrease the performance. </p> <p>So here is a better way: use a small VBA routine to create a history table containing the position of all teams during the whole season:</p> <p>Sub RecalculateTableDev() <br />&#0160; Dim varmatchday As Integer <br />&#0160; Dim rngMatchDay As Range <br />&#0160; Dim rngTableDevStart As Range <br />&#0160; Dim rngTablePosition As Range</p> <p>&#0160; Application.ScreenUpdating = False <br />&#0160; Set rngMatchDay = Range(&quot;myMatchDay&quot;) <br />&#0160; Set rngTableDevStart = Range(&quot;myTableDevStart&quot;) <br />&#0160; Set rngTablePosition = Range(&quot;myTablePosition&quot;) <br />&#0160; Range(&quot;myTableDevRange&quot;).ClearContents <br />&#0160; For varmatchday = 1 To 34 <br />&#0160;&#0160;&#0160;&#0160;&#0160; rngMatchDay.Value = varmatchday <br />&#0160;&#0160;&#0160;&#0160;&#0160; rngTableDevStart.Offset(0, varmatchday).Value = rngTablePosition.Value <br />&#0160; Next varmatchday <br />&#0160; rngMatchDay.Value = 34 <br />&#0160; Application.ScreenUpdating = True <br />End Sub</p> <p>The technique is simple: Loop through all match days, let the Excel workbook do the math and write the positions of the teams to the history table. Finally set the actual match day to the last one (i.e. display the final league table).</p> <p>Agreed, there is a drawback as well: the VBA takes some to time to create the history table. Though, an update of the history is only necessary if the user switches either to another season or another league. From my point of view this drawback is acceptable.</p> <p><strong>The download links</strong></p> <p>Here is the example workbook for the German 1. and 2. Football Bundesliga for free download:</p> <p style="text-align: center;"><a href="http://www.clearlyandsimply.com/files/2010/05/bundesliga.zip">Download Bundesliga (Microsoft Excel 2003, zipped 223.4K)</a></p> <p>I can already hear you saying: “who cares for the German Bundesliga”? Well, I do. If you don’t, maybe you will be more interested in the following workbook for the English Premier League:</p> <p style="text-align: center;"><a href="http://www.clearlyandsimply.com/files/2010/05/premier_league.zip">Download Premier League (Microsoft Excel 2003, zipped 203.0K)</a></p> <p>Please be advised that both workbooks are based solely on the match results. Thus, the tables provided within these workbooks do not reflect any possible point penalties because of e.g. breach of license terms, match manipulations, fan riots, etc. The tables are reflecting the sports, nothing else. They do not necessarily represent the official tables.</p> <p><strong>What’s next?</strong></p> <p>As already foreshadowed in the introduction, I am planning to do another post on visualizing FIFA World Cup statistics. I am not sure whether I will make it in time (less than 2 weeks left), but I am working on it. </p> <p>Stay tuned.</p><img src="http://feeds.feedburner.com/~r/ClearlyAndSimply/~4/oJp6_weEmq0" height="1" width="1"/>]]></content:encoded>


<category>Charts</category>
<category>Microsoft Excel</category>
<category>Show Cases</category>
<category>Visualization</category>

<dc:creator>Robert</dc:creator>
<pubDate>Sun, 30 May 2010 21:00:00 +0200</pubDate>

<feedburner:origLink>http://www.clearlyandsimply.com/clearly_and_simply/2010/05/combine-tables-and-charts-on-excel-dashboards.html</feedburner:origLink></item>

</channel>
</rss><!-- ph=1 --><!-- nhm:dynamic-ssi -->
