• Cartograms in Tableau

    Plotting preprocessed polygon data as Cartograms in Tableau: the results of the US Presidential Elections since 1900

    Cartograms of the US Presidential Elections plotted in TableauChoropleth Maps or Filled Maps (as they are called in Tableau) are a great technique for analyzing geographical data, especially for maps with a high level of detail (e.g. US by counties or ZIP codes). They make it very easy to identify geographical hot spots first and then drill down into these regions using other visualization types.

    Having said that, they also have their limitations and disadvantages. Even worse, under certain circumstances Choropleth Maps can be misleading and visualize the data incorrectly.

    A classic example of misleading Choropleth Maps are the well known US Presidential Election Maps. We all have seen them, right? A map of the USA with color coded states: a red fill color if the Republican candidate won the state and a blue fill color if the Democratic candidate won (and in some years other colors for independent candidates).

    Although these maps correctly depict the geographical distribution of “who won where”, they are usually telling the wrong overall story.

    How come?

    Traditionally Republicans very often win some of the larger states with a small population density like Alaska, Montana and Wyoming (and thereby only a small number of electoral votes). As a consequence red often dominates the color coding of the map, even if the Democratic candidate won the entire election.

    Cartograms are a geographical visualization on a map avoiding this problem. Cartograms are distorting the map by resizing its regions according to e.g. the population, the popular votes or the electoral votes, At the same time the Cartogram algorithm tries to retain the topology of the map as far as possible.

    Today’s article presents a dashboard on Tableau Public comparing a Filled Map with a Cartogram for every US Presidential Election since 1900.

    (more…)

  • Create Excel Freeform Shapes from Polygons

    How to transfer polygon data into freeform shapes in Microsoft Excel

    Create Excel Freeform Shapes from PolygonsIf you are a regular reader or even subscribed to this blog, you will not be surprised to hear that I am working on a new challenge regarding maps in Microsoft Excel.

    We had a lot of articles already on how to create Choropleth Maps in Microsoft Excel. The new project is about using maps in Excel again, but with a different type of visualization.

    Since I am just starting out on this challenge, I can’t provide more details yet.

    Having said that, for the preparation of the new project, I had to work with geographical polygon data. Now, what’s this?

    A polygon is […] a plane figure that is bounded by a finite chain of straight line segments closing in a loop to form a closed chain or circuit.” (source: Wikipedia).

    In the context of geographical visualization, a polygon represents a region (e.g. country) on a map. Such a polygon consists of a series of geographical points: pairs of latitude and longitude in a defined order (path). If you draw an outline through these points in the given order, you get a shape forming the boundary of this region.

    And this was my challenge: transfer geographical polygon data into freeform shapes in Microsoft Excel. I am not sure, but I thought maybe some of you might be interested, so I decided to share my solution.

    Today’s post first shows how to plot polygon data on standard Excel XY Scatter charts and then describes my solution to transfer the data into freeform shapes. As always, the article provides a link to download the Excel workbook for free.

    (more…)

  • Excel Oddity: Camera Objects bloat File Size

    Camera objects (aka linked pictures to cell ranges) can considerably increase the size of an Excel workbook. Why?

    Vintage Camera - Photographer: Peter Miller (flickr.com)Camera Objects (aka linked pictures) are an easy-to-use, powerful and flexible technique in Excel, especially for making dynamic and interactive charts and dashboards.

    I learned this technique years ago from Charley Kyd’s fantastic e-book Dashboard Reporting With Excel.

    My good friend and Excel MVP Chandoo also wrote several articles about the Camera Object (all articles with ‘camera tool’ tag on chandoo.org).

    The feature may still not be as known among Excel users as it should be, but there are so many very good tutorials available that I do not need to write another one.

    As great as they are, Camera Objects always had a few issues (printing, merged cells, distorting captured charts, etc.) as Charley points out here: A New Excel 2010 Camera Tool Bug, and a Workaround.

    Today’s article will describe not a real bug, more an Excel oddity or annoyance regarding Camera Objects: the extensive use of Camera Objects can let the file size of your workbook explode, especially if they are linked to cells with inserted images sitting on top. I took a closer look into this and today’s post describes what I found out.

    (more…)

  • Highlighting on Excel Dashboards

    Highlight one selected item across all charts and views of an Excel Dashboard: an example and the how-to

    Dashboard EU Unemployment RatesVery often, a dimension is displayed on more than one view of a dashboard.

    Let’s say you want to analyze data of the European Union. Chances are that you will have the dimension “member state” on more than one of your charts.

    If you pull these charts together into one dashboard, highlighting a selected member state across all charts is very helpful to explore and analyze the data. It supports the user to easily focus on the selected state and to identify its position in the context of all members at a glance.

    Highlighting is the very simple act of selecting one item out of many (by e.g. clicking) and automatically seeing this item emphasized in all views across the entire dashboard. This is a very effective and user-friendly visualization technique and should be available on every interactive dashboard.

    Today’s post shows how to implement highlighting on an Excel dashboard. As always, including the Excel workbook for free download.

    (more…)

  • Word Clouds with Tableau

    How to create Word Clouds with Tableau and a look at the value of Word Clouds for serious Business Data Analysis

    Word Clouds vs AlternativesThe previous two posts (Word Clouds with Microsoft Excel and The Implementation of Word Clouds with Excel) provided and explained my VBA-based solution to create dynamic Word Clouds (aka Tag Clouds) in Microsoft Excel.

    Unlike Excel, Tableau provides a native feature to create Word Clouds with a few mouse clicks. The feature is available since Tableau version 8, but not everybody is aware of this, because Word Clouds aren’t displayed if you click the Show Me button (Tableau’s “chart gallery”).

    That’s why I want to complete my short series on Word Clouds with a step-by-step description of how to create this type of view in Tableau and two tips to make Word Clouds more effective.

    However, I am up to something more: Word Clouds are a nice little visualization and come in handy if you want to draw someone’s attention to your presentation or infographic. Having said that, they are more or less useless if you need your data to answer your questions or tell your story. The second part of today’s post will try to prove that there are much better visualizations for serious data analysis than a Word Cloud.

    (more…)