<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Applications</title>
  <subtitle>Visualization Applications. Examples of visualization for some data, usually of general interest. Hopefully also good examples how to do simple and useful visualization.</subtitle>
  <link rel="alternate" type="text/html" href="http://eagereyes.org/topics/VisApps"/>
  <link rel="self" type="application/atom+xml" href="http://eagereyes.org/taxonomy/term/9/atom/feed"/>
  <id>http://eagereyes.org/taxonomy/term/9/atom/feed</id>
  <updated>2008-09-01T09:19:47-04:00</updated>
  <entry>
    <title>Swing States</title>
    <link rel="alternate" type="text/html" href="http://eagereyes.org/blog/2008/swing-states.html" />
    <id>http://eagereyes.org/blog/2008/swing-states.html</id>
    <published>2008-10-30T00:00:44-04:00</published>
    <updated>2008-11-19T21:17:49-05:00</updated>
    <author>
      <name>Robert Kosara</name>
    </author>
    <category term="blog" />
    <category term="Applications" />
    <category term="Politics" />
    <summary type="html"><![CDATA[<p style="text-align: center;"><a href="http://eagereyes.org/blog/2008/swing-states.html"><img src="http://eagereyes.org/media/2008/StateSwing-teaser.png" border="0" alt="Swing State Teaser" width="404" height="154" /></a></p>
<p>I always wondered how much those <a href="http://en.wikipedia.org/wiki/Swing_state">swing states</a> actually swing. So I looked at the results of presidential elections over the last 100 years, and it's not easy to determine which states actually are swing states from just looking at their history. Rather, there seems to be a pattern of relative stability for a few election cycles, and then big, sweeping wins for one side.    ]]></summary>
    <content type="html"><![CDATA[<p style="text-align: center;"><a href="http://eagereyes.org/blog/2008/swing-states.html"><img src="http://eagereyes.org/media/2008/StateSwing-teaser.png" border="0" alt="Swing State Teaser" width="404" height="154" /></a></p>
<p>I always wondered how much those <a href="http://en.wikipedia.org/wiki/Swing_state">swing states</a> actually swing. So I looked at the results of presidential elections over the last 100 years, and it's not easy to determine which states actually are swing states from just looking at their history. Rather, there seems to be a pattern of relative stability for a few election cycles, and then big, sweeping wins for one side.<!--break--></p>
<p>The data for this chart was collected from the <a href="http://www.archives.gov/federal-register/electoral-college/votes/index.html">U.S. National Archives and Records Administration</a>, which unfortunately does not provide this in a very usable format. The format also switches at some point, making things more work than necessary. I had originally collected the data in a year-by-state matrix, which turned out to be a poor choice. I used <a href="http://had.co.nz/reshape/">Hadley Wickham's reshape package for R</a> to "melt" the data into a more useful format. That data was then fed to&nbsp;<a href="http://www.tableausoftware.com/">Tableau</a> to produce this chart.</p>
<p>I chose a red that is quite a bit brighter than the blue to make the two colors easier to differentiate. Blue, of course, represents democrats, and red Republicans.&nbsp;There is also the&nbsp;<a href="http://en.wikipedia.org/wiki/Progressive_Party_(United_States,_1912)">Progressive Party of 1912</a>&nbsp;(not to be confused with the&nbsp;<a href="http://en.wikipedia.org/wiki/Progressive_Party_(United_States,_1924)">Progressive Party of 1924</a>, but I still gave them the same color), as well as the "<a href="http://en.wikipedia.org/wiki/Dixiecrat">Dixiecrats</a>" who only ran in 1948. They were all so short-lived that I didn't pay a lot of attention to them, but you can find them in the chart if you look closely.</p>
<p style="text-align: center;"><a href="http://eagereyes.org/media/2008/StateSwing.png" rel="lightbox"><img src="http://eagereyes.org/media/2008/StateSwing-thumb.png" border="0" alt="Election Results by State" width="500" height="299" /></a></p>
<p style="text-align: center;">(Click for larger image)</p>
<p>You can see big, sweeping wins where one party takes over from the other, like in 1932, 1964, and 1968, etc. Bear in mind though that each dot represents a state, not a fixed fraction of either the popular or the electoral vote (<a href="http://eagereyes.org/blog/2008/popular-vs-electoral-votes-using-stacked-bar-charts.html">which can differ quite a bit</a>, too). I have ideas for how to show these things, but haven't been able to do them in Tableau or Excel, and just don't have the time right now to write a program for this.</p>
<p>What is also interesting to see is how recently some states (like Alaska and Hawaii) became proper parts of the US, and that even "contiguous 48" states like Arizona and New Mexico were not represented 100 years ago. The District of Columbia is the only "state" to never change color, but there are a few that have fairly consistent records, like Vermont and Massachusetts.</p>
<p>The goal was to make a chart that would show the progression of state winners over time. The vertical time axis is not optimal, but due to the large number of states, there really is no other choice. This layout makes it possible to see each year as one unit, and also to follow each state separately (in the large version of the image, anyway).</p>
<p>So this is really more a starting point than a finished visualization. I don't think I really succeeded in showing the crucial structures here, and there is more information to be included (though I did not collect data on the number of electoral votes over time). The data is available below for you to try your hands on. Let me know what you come up with!</p>
<p>Data: <a href="http://eagereyes.org/media/2008/Elections_1904-2004.zip">Elections_1904-2004.zip</a></p>
<p>&nbsp;</p>    ]]></content>
  </entry>
  <entry>
    <title>Popular vs. Electoral Votes Using Stacked Bar Charts</title>
    <link rel="alternate" type="text/html" href="http://eagereyes.org/blog/2008/popular-vs-electoral-votes-using-stacked-bar-charts.html" />
    <id>http://eagereyes.org/blog/2008/popular-vs-electoral-votes-using-stacked-bar-charts.html</id>
    <published>2008-10-11T20:50:09-04:00</published>
    <updated>2008-10-11T21:08:07-04:00</updated>
    <author>
      <name>Robert Kosara</name>
    </author>
    <category term="blog" />
    <category term="Applications" />
    <category term="Politics" />
    <summary type="html"><![CDATA[<p style="text-align: center;"><a href="http://eagereyes.org/blog/2008/popular-vs-electoral-votes-using-stacked-bar-charts.html"><img src="http://eagereyes.org/media/2008/Popular-Electoral-teaser-new.png" border="0" alt="Popular vs. Electoral Vote Teaser" width="266" height="88" /></a></p>
<p>A few days ago, I looked at <a href="http://eagereyes.org/blog/2008/electoral-college-and-second-terms.html">how the electoral college system amplifies the lead</a> of the strongest candidate in a US presidential election. The way I made the chart (with the help of PhotoShop) created some interesting reactions, and finally led me to what I consider the best way to do it (using stacked bar charts). I also want to respond to a few comments about the kind of chart used and why I think it is the most effective way to show what it does.    ]]></summary>
    <content type="html"><![CDATA[<p style="text-align: center;"><a href="http://eagereyes.org/blog/2008/popular-vs-electoral-votes-using-stacked-bar-charts.html"><img src="http://eagereyes.org/media/2008/Popular-Electoral-teaser-new.png" border="0" alt="Popular vs. Electoral Vote Teaser" width="266" height="88" /></a></p>
<p>A few days ago, I looked at <a href="http://eagereyes.org/blog/2008/electoral-college-and-second-terms.html">how the electoral college system amplifies the lead</a> of the strongest candidate in a US presidential election. The way I made the chart (with the help of PhotoShop) created some interesting reactions, and finally led me to what I consider the best way to do it (using stacked bar charts). I also want to respond to a few comments about the kind of chart used and why I think it is the most effective way to show what it does.<!--break--></p>
<p>My use of PhotoShop may have seemed silly, but I used it to stitch together the screenshots of the different parts of the chart (it is higher than my laptop screen), so it didn't seem so absurd to me. But there are of course much better ways to do this.</p>
<p>Jon Peltier wrote two postings on how to achieve the effect using&nbsp;<a href="http://peltiertech.com/WordPress/2008/10/08/overlapped-bar-chart-longer-bars-in-back/">overlapped bars</a> (which are possible in Excel but not in Numbers), but making sure that the shorter bar is always visible. He also modified the technique to show <a href="http://peltiertech.com/WordPress/2008/10/10/overlapped-bar-chart-thinner-bars-in-front/">thinner bars in front</a>, so that the full length of both bars can be seen.</p>
<p>Jock Mackinlay asked me for the underlying data (which I later also added to the <a href="http://eagereyes.org/blog/2008/electoral-college-and-second-terms.html">original posting</a>) and made <a href="http://www.tableausoftware.com/blog/electoral-college-impact">a similar chart in Tableau</a>. He uses an interesting trick to add an additional series that is shown in front when the shorter bar would be hidden: if the value "in front" is greater than the one shown behind all other bars, that bar has the same length as the hidden one, otherwise it is zero.</p>
<h2>Using Stacked Bar Charts</h2>
<p>I'm using Mackinlay's idea to create the chart using stacked bar charts. Stacked bars are quite flexible, and I've used them to prototype a number of visualizations, including the <a href="http://eagereyes.org/applications/PresidentialDemographicsII.html">Presidential Demographics</a> applet (the key there was making parts of the bars invisible). They are also available in virtually any program that can draw charts, so this method should work with practically any program.</p>
<p>Here is a version of my table that shows the raw data (name, (popular) winner %, and electoral %) as well as the three columns that are going to be used for the stacked bar chart.</p>
<p style="text-align: center;"><img src="http://eagereyes.org/media/2008/presidents-table.png" border="0" alt="Data Table" /></p>
<p>These three columns work like this: bar1 is green, and shows the electoral vote in case it is smaller than the popular vote (and it's zero otherwise); bar2 is blue, and shows the popular vote in both cases (meaning it's the same as the popular vote if bar1 is zero, or it's the difference between the popular and the electoral if it isn't); bar3 is green again, and shows the electoral vote in those cases where that is greater than the popular (i.e., the majority).</p>
<p>The formulas for these three are as follows:&nbsp;bar1: =IF(C2&gt;B2,0,C2), bar2: =IF(D2&gt;0,B2-C2,B2), and bar3: =IF(D2&gt;0,0,C2-B2).</p>
<p>The resulting chart looks like this (again done in Numbers, certainly doable just as well in Excel, Tableau, or Open Office):</p>
<p style="text-align: center;"><img src="http://eagereyes.org/media/2008/Popular-Electoral-new.png" border="0" alt="Popular vs. Electoral Vote" width="400" height="850" /></p>
<p>The only thing I did in PhotoShop (besides stitching) was to remove the third element from the legend. I also took up Jon Peltier's suggestion to only show the 50% and 100% lines, rather than shade the area behind the lower 50%. That makes for a cleaner chart that is easier to read, and focuses on the things I really wanted to do with this.</p>
<h2>Making a Point with a Chart</h2>
<p>The reason for making this chart were two questions: Were there cases where the electoral vote was less than the popular vote (and which were those)? Which candidates were pushed over the 50% mark by the "amplification" from the electoral college system (and how much was that)?</p>
<p>The whole point of this exercise was to make those cases stand out where the electoral vote was less than the popular one, and as I already described in my earlier posting, that was not doable with any other chart I tried. So in a way, this chart makes a point: it guides the viewer's attention to one specific criterion. It is not meant to be a generic chart to compare two series of numbers (that would be better done using pairs of bars).</p>
<p>Reader TV also commented on Jon Peltier's <a href="http://peltiertech.com/WordPress/2008/10/08/overlapped-bar-chart-longer-bars-in-back/">first posting</a> that the chart went against the convention of the stacked bar chart that would have the blue and green bars be parts of a total that is shown by the total length of both bars. Though that works here too, because the green part can be seen as the amplification of the popular vote, so both add up to the effective votes that counted for a candidate.</p>
<p>Almost exactly two years ago, I wrote about the difference between visualization and information graphics being that <a href="http://eagereyes.org/blog/opining-or-murmuring.html">one murmurs and the other opines</a>. This chart has a clear message, and it is focused on answering these two particular questions. That is why it turned out to be a good idea to not show more than two vertical lines, because reading the precise percentages is just not a priority.</p>
<p>Making such decisions makes a chart more focused, and thus stronger. While we want to provide the reader with the means to see different information in a visualization, I believe that we also need to make a clear point. If we don't do that, the viewer is confused and lost, and is not given a well-defined starting point for his or her own exploration.</p>    ]]></content>
  </entry>
  <entry>
    <title>A Fisheye Calendar at Yahoo!</title>
    <link rel="alternate" type="text/html" href="http://eagereyes.org/blog/2008/fisheye-calendar-at-yahoo.html" />
    <id>http://eagereyes.org/blog/2008/fisheye-calendar-at-yahoo.html</id>
    <published>2008-10-08T21:30:19-04:00</published>
    <updated>2008-10-17T10:15:22-04:00</updated>
    <author>
      <name>Robert Kosara</name>
    </author>
    <category term="blog" />
    <category term="Applications" />
    <summary type="html"><![CDATA[<p style="text-align: center;"><a href="http://eagereyes.org/blog/2008/fisheye-calendar-at-yahoo.html"><img src="http://eagereyes.org/media/2008/fisheye-yahoo-calendar.jpg" border="0" alt="Fisheye Calendar then and now" width="480" height="326" /></a></p>
<p>What a difference 22 years make! In 1986, George Furnas published his paper, <em><a href="http://eagereyes.org/references/Furnas_CHI_1986.html">Generalized Fisheye Views</a></em>, which described what was to become one of the first (and most prominent) focus+context techniques. One of the examples he used was a calendar that showed the current day in most detail, with less space for the surrounding ones. Yahoo! just started an <a href="http://switch.calendar.yahoo.com/">opt-in beta</a> of their new calendar that uses the same idea.    ]]></summary>
    <content type="html"><![CDATA[<p style="text-align: center;"><a href="http://eagereyes.org/blog/2008/fisheye-calendar-at-yahoo.html"><img src="http://eagereyes.org/media/2008/fisheye-yahoo-calendar.jpg" border="0" alt="Fisheye Calendar then and now" width="480" height="326" /></a></p>
<p>What a difference 22 years make! In 1986, George Furnas published his paper, <em><a href="http://eagereyes.org/references/Furnas_CHI_1986.html">Generalized Fisheye Views</a></em>, which described what was to become one of the first (and most prominent) focus+context techniques. One of the examples he used was a calendar that showed the current day in most detail, with less space for the surrounding ones. Yahoo! just started an <a href="http://switch.calendar.yahoo.com/">opt-in beta</a> of their new calendar that uses the same idea.<!--break--></p>
<p>Furnas observed that people tend to represent their immediate environment (whether physically, temporally, or simply the focus of their current work) in more detail than things that are further away. He called that effect <em>fisheye view</em>, after the <a href="http://en.wikipedia.org/wiki/Fisheye_lens">fisheye lens</a> that is used in photography and that enlarges objects in the center of the image, while compressing towards the edges (that lens also uses a metaphor for its name, which describes the view fish supposedly see when looking straight up).</p>
<p>Among his examples, he used a calendar. Similar images have appeared in the visualization and human-computer-interaction (HCI) literature since, but Furnas was the first to do this (as far as I am aware).</p>
<p style="text-align: center;"><img src="http://eagereyes.org/media/2008/fisheye-calendar.png" border="0" alt="Fisheye Calendar from Furnas' paper" width="480" height="346" /></p>
<p>Now 22 years later, Yahoo! has picked that idea up, made it prettier, and made it useful in its new calendar. The regular view looks just like any other monthly calendar, but when you click on a day, it zooms into that day to give it more room. As a side-effect you also get more space for the current week, as well as for the same day of the week in other weeks of that month (this is sometimes considered a bad thing, but at least for the current week it makes a lot of sense). In this view, you can enter new events and change existing ones (click the image below for full size).</p>
<p style="text-align: center;"><a href="http://eagereyes.org/media/2008/yahoo-calendar.png" target="_blank" rel="lightbox"><img src="http://eagereyes.org/media/2008/yahoo-calendar-thumb.png" border="0" alt="Yahoo! Calendar" width="472" height="280" /></a></p>
<p>While I don't think that this will lead to a revolution in how quickly companies pick up ideas from visualization and HCI research, it is a good thing that this is happening. Perhaps increased competition, expanded flexibility of programs in browsers, and the pressure to appear cutting-edge will turn more such flash-backs into useful products.</p>    ]]></content>
  </entry>
  <entry>
    <title>The Electoral College and Second Terms</title>
    <link rel="alternate" type="text/html" href="http://eagereyes.org/blog/2008/electoral-college-and-second-terms.html" />
    <id>http://eagereyes.org/blog/2008/electoral-college-and-second-terms.html</id>
    <published>2008-10-07T23:31:32-04:00</published>
    <updated>2008-10-14T11:14:10-04:00</updated>
    <author>
      <name>Robert Kosara</name>
    </author>
    <category term="blog" />
    <category term="Applications" />
    <category term="Politics" />
    <summary type="html"><![CDATA[<p style="text-align: center;"><a href="http://eagereyes.org/blog/2008/electoral-college-and-second-terms.html"><img src="http://eagereyes.org/media/2008/Popular-Electoral-teaser.png" border="0" alt="Popular vs. Electoral Vote Teaser" /></a></p>
<p>The <a href="http://en.wikipedia.org/wiki/U.S._Electoral_College">Electoral College</a> is a key aspect of the US presidential elections. Its mechanics and distribution of electors are crucial for presidential campaigns and determine the so-called <em>battleground states &ndash;</em>&nbsp;and possibly also distort the will of the people. I was interested this last effect, so I did a little analysis.    ]]></summary>
    <content type="html"><![CDATA[<p style="text-align: center;"><a href="http://eagereyes.org/blog/2008/electoral-college-and-second-terms.html"><img src="http://eagereyes.org/media/2008/Popular-Electoral-teaser.png" border="0" alt="Popular vs. Electoral Vote Teaser" /></a></p>
<p>The <a href="http://en.wikipedia.org/wiki/U.S._Electoral_College">Electoral College</a> is a key aspect of the US presidential elections. Its mechanics and distribution of electors are crucial for presidential campaigns and determine the so-called <em>battleground states &ndash;</em>&nbsp;and possibly also distort the will of the people. I was interested this last effect, so I did a little analysis.<!--break--></p>
<p>A presidential election in the US is essentially 51 separate elections (50 states plus the District of Columbia). All but two states have a winner-takes-all system, with Maine and Nebraska using a slightly more differentiated way of splitting up its delegates between the candidates. There are a number of consequences of this that I don't want to discuss in detail here, but what I was interested in was the boost this system gives to the strongest candidate.</p>
<p>There are two aspects to this. First, there is the relative majority: which candidate got the most votes? Splitting this up further, there is the popular vote (how many people voted for a particular candidate) and the electoral vote (how many electors voted for that candidate). My hypothesis was that the percentage of electoral votes the winner got would always be higher than the popular vote.</p>
<p>The other aspect is whether the candidate who wins is the candidate the absolute majority of people (i.e., more than 50%) voted for. In recent elections, with only two candidates from the two big parties, this has become almost synonymous with the previous question &ndash;&nbsp;any third-party candidate would only get a minuscule fraction of the popular vote and not a single electoral vote.</p>
<h2>A Comparison Chart</h2>
<p>So I came up with the following graphic to answer my question. The blue bars show the popular vote, the green ones electoral votes. Since I wanted to compare, I tried out a number of different configurations, but none made it easy to see the instances where the electoral vote would be smaller than the popular vote. So I ended up with a kind of stacking where the longer bar would be "behind" the shorter one. The idea was that the instances with electoral &lt; popular would stand out.</p>
<p style="text-align: center;"><img src="http://eagereyes.org/media/2008/Popular-Electoral.png" border="0" alt="Popular vs. Electoral Vote" width="388" height="841" /></p>
<p>As you can see, there were only three instances where the electoral percentage was lower than the popular one. The boost from the electoral system is quite astounding in many cases, easily adding 30 points and more to the popular vote.</p>
<p>The other thing the chart shows is where a candidate was elected with less than 50% of the popular vote. The shaded area marks the 50%, and you can see that there were quite a few presidents who where pushed across that mark by the electoral college system. The most recent is George W. Bush, but the list also includes Bill Clinton, Richard Nixon, and others.</p>
<p>This is really only meant to provide a data point for the discussion of the merits of the electoral system &ndash; the issue is far too complex to be boiled down to a few numbers. But I think this chart illustrates quite nicely what effect the current system has. For another data-centric discussion of how less than 1% change in popular vote could have changed the outcome of many of the past elections, see Mike Sheppard's&nbsp;<a href="https://www.msu.edu/~sheppa28/elections.html">How close were Presidential Elections?</a></p>
<h2>Second Terms</h2>
<p>Since I already had the data (which I scraped from Wikipedia), I got interested in looking at the second terms of presidents (or, in the case of FDR, in second, third, and fourth terms). Would a sitting president tend to gain or lose points? And what is the effect of the electoral college here? The following chart shows this data for presidents who got re-elected.</p>
<p style="text-align: center;"><img src="http://eagereyes.org/media/2008/SecondTerms.png" border="0" alt="Second Term gains and losses" width="382" height="385" /></p>
<p>At first glance, it appears that most re-elected presidents did gain votes, and most of these gains were amplified by the electoral college (the losses, too). There are two notable exceptions, Andrew Jackson and Woodrow Wilson: in these two cases, a gain in one actually translated into a loss in the other. I have no explanation how this was possible, especially in Wilson's case.</p>
<p>What is missing here is data about sitting presidents who did not get re-elected. But since I was mostly interested in popular vs. electoral, I did not collect this data. I will work on such a comparison for a future posting.</p>
<h2>Charting Challenges</h2>
<p>What surprised me was how hard it was to produce a good chart for what I considered a simple dataset and question. Putting pairs of bars next to each other was entirely ineffective, there was way too much noise, even with ample spacing between the pairs (which also created a huge chart). Neither Excel nor Numbers would let me specify negative distances between the bars to make them slide behind each other. I'm a bit surprised that this is so difficult, I'm sure I've seen charts with overlapping bars.</p>
<p>So I ended up creating stacked bar charts, with a few additional columns of data to generate the needed numbers. While that wasn't very difficult, it did defeat the point of doing this visually: if I could just look at the sign of the difference between the electoral and popular percentages, why bother with a chart? It still does provide a good way to present the data, especially the amplification of the stronger candidate.</p>
<p>While Numbers doesn't have nearly the power of Excel, I really like its approach to spreadsheets. It also produces much nicer charts, in my humble opinion. What it does not do, however, is let me change the color of an individual element of a chart &ndash;&nbsp;I ended up doing those in PhotoShop. Also, while Numbers lets me draw arbitrary shapes, there is no snapping to chart elements, only their outlines. That makes adding information like the 50% shaded area much more difficult than necessary.</p>
<p>While both Excel and Numbers do provide a large variety of chart types and settings, a lot of manual work is still necessary to make a chart really informative. And many things that should be very simple to do in these programs (including such advanced features as histograms) still require a lot of tweaking and the use of tools like PhotoShop.</p>
<p>&nbsp;</p>
<hr />
<p>See also:&nbsp;<a href="http://eagereyes.org/Applications/PresidentialDemographics.html">Presidential Demographics</a>,&nbsp;<a href="http://eagereyes.org/applications/PresidentialDemographicsII.html">Presidential Demographics II</a></p>
<p>The <a href="http://eagereyes.org/media/2008/popular-electoral-data.zip">source data</a> for these charts is available.</p>
<p>A <a href="http://eagereyes.org/blog/2008/popular-vs-electoral-votes-using-stacked-bar-charts.html">better version of the chart using stacked bar charts</a> is also available.</p>    ]]></content>
  </entry>
  <entry>
    <title>The Market Meltdown in Living Color</title>
    <link rel="alternate" type="text/html" href="http://eagereyes.org/blog/2008/market-meltdown-in-living-color.html" />
    <id>http://eagereyes.org/blog/2008/market-meltdown-in-living-color.html</id>
    <published>2008-09-29T18:12:50-04:00</published>
    <updated>2008-09-30T14:30:18-04:00</updated>
    <author>
      <name>Robert Kosara</name>
    </author>
    <category term="blog" />
    <category term="Applications" />
    <summary type="html"><![CDATA[<p style="text-align: center;"><a href="http://eagereyes.org/blog/2008/market-meltdown-in-living-color.html"><img src="http://eagereyes.org/media/2008/MarketMeltdown-20080929-thumb.png" border="0" alt="Map of the Market, 2008-09-29" /></a></p>
<p>Images speak louder than words. A lot louder. It would be hard to find a more vivid and impressive visualization of what happened today on the New York Stock Exchange.    ]]></summary>
    <content type="html"><![CDATA[<p style="text-align: center;"><a href="http://eagereyes.org/blog/2008/market-meltdown-in-living-color.html"><img src="http://eagereyes.org/media/2008/MarketMeltdown-20080929-thumb.png" border="0" alt="Map of the Market, 2008-09-29" /></a></p>
<p>Images speak louder than words. A lot louder. It would be hard to find a more vivid and impressive visualization of what happened today on the New York Stock Exchange.<!--break--></p>
<p>If you're wondering what that little green spot is: it's Barrick Gold, with a plus of 4.53%. Good for them.</p>
<p>You can take a look at the mess yourself at <a href="http://smartmoney.com/map-of-the-market/">SmartMoney's Map of the Market</a>. Or if we're already back to something resembling sanity, click the thumb below for a full-sized screenshot.</p>
<p style="text-align: center;"><span style="color: #0000ee; text-decoration: underline;"><a href="http://eagereyes.org/media/2008/MarketMeltdown-20080929.png" onclick="window.open('http://eagereyes.org/media/2008/MarketMeltdown-20080929.png','Market Meltdown, 2008-09-29','width=749,height=499,left='+(screen.availWidth/2-374.5)+',top='+(screen.availHeight/2-249.5)+'');return false;"><img src="http://eagereyes.org/media/2008/MarketMeltdown-20080929-thumb.png" border="0" alt="Market Meltdown, 2008-09-29" width="375" height="250" /></a></span></p>
<p>Here's another one, thanks to Michael Payne for the link! <a href="http://finviz.com/">FinViz</a> looks quite interesting, though their map is a bit overloaded. Looks great, though.</p>
<p style="text-align: center;"><a href="http://eagereyes.org/media/2008/finviz-20080930.png" onclick="window.open('http://eagereyes.org/media/2008/finviz-20080930.png','FinViz, 2008-09-30 (weekly data)','width=806,height=606,left='+(screen.availWidth/2-403)+',top='+(screen.availHeight/2-303)+'');return false;"><img src="http://eagereyes.org/media/2008/finviz-20080930-thumb.jpg" border="0" alt="FinViz" width="375" height="281" /></a></p>    ]]></content>
  </entry>
  <entry>
    <title>SPSS Viz Designer</title>
    <link rel="alternate" type="text/html" href="http://eagereyes.org/reviews/SPSS-Viz-Designer.html" />
    <id>http://eagereyes.org/reviews/SPSS-Viz-Designer.html</id>
    <published>2008-09-13T21:30:40-04:00</published>
    <updated>2008-09-14T00:05:09-04:00</updated>
    <author>
      <name>Robert Kosara</name>
    </author>
    <category term="Applications" />
    <category term="Criticism" />
    <summary type="html"><![CDATA[<p style="text-align: center;"><a href="http://eagereyes.org/reviews/SPSS-Viz-Designer.html"><img src="http://eagereyes.org/media/2008/vizdesigner.jpg" border="0" alt="SPSS Viz Designer" /></a></p>
<p>SPSS recently released their new <a href="http://www.spss.com/VizDesigner/">Viz Designer</a>, a visualization engine built on Leland Wilkinson's work (<em><a href="http://www.amazon.com/Grammar-Graphics-Statistics-Computing/dp/0387245448/">The Grammar of Graphics</a></em> and <a href="http://www.spss.com/research/Wilkinson/nViZn/nvizn.html">nViZn</a>). The comparison with&nbsp;<a href="http://tableausoftware.com/">Tableau</a>&nbsp;is unavoidable since both are based on the same underlying ideas. Right now, Viz Designer does not look good in that comparison.&nbsp;    ]]></summary>
    <content type="html"><![CDATA[<p style="text-align: center;"><a href="http://eagereyes.org/reviews/SPSS-Viz-Designer.html"><img src="http://eagereyes.org/media/2008/vizdesigner.jpg" border="0" alt="SPSS Viz Designer" /></a></p>
<p>SPSS recently released their new <a href="http://www.spss.com/VizDesigner/">Viz Designer</a>, a visualization engine built on Leland Wilkinson's work (<em><a href="http://www.amazon.com/Grammar-Graphics-Statistics-Computing/dp/0387245448/">The Grammar of Graphics</a></em> and <a href="http://www.spss.com/research/Wilkinson/nViZn/nvizn.html">nViZn</a>). The comparison with&nbsp;<a href="http://tableausoftware.com/">Tableau</a>&nbsp;is unavoidable since both are based on the same underlying ideas. Right now, Viz Designer does not look good in that comparison.&nbsp;<!--break--></p>
<p>In fact, it would be easy to slam the program. The user interface has a certain engineering look to it that reminds me of early GUI programs. There is also very little exploration and basically no interaction with the created graphics. There is also very little intelligence about the data, like detection of categorical vs. continuous dimensions. But then, the program is built on a very powerful basis and there is a large enough organization behind it to carry it over the first few, rough, releases. And there is also room for a different approach than Tableau, even though I think they're doing a lot of things right.</p>
<p>One feature the folks who demoed the program for me stressed quite a bit is how the look and feel of a graph can be stored as a stylesheet and applied to other graphs to provide a unified look across a corporation. In a similar vein, visualization specifications can be stored as templates and applied to different data (with some restrictions that can be defined in the program). Both are integrated with a server, so that central maintenance of stylesheets and templates is possible, and users always access the latest versions.</p>
<p>Templates become a part of the library of visualizations that the program offers when the user opens a dataset and selects dimensions to be shown. This is an advantage and a disadvantage at the same time. While it makes good use of the underlying engine and provides the means for users to seamlessly extend the library of visualization templates, it also means that Viz Designer's elementary unit is a single chart. This is quite unlike Tableau, where it is easy to switch between visualizations, add new ones on additional pages, and combine them into dashboards. Viz Designer graphs can be saved as images or be embedded in SPSS documents and edited directly from there (by double-clicking the image).</p>
<p>The most obvious feature in Viz Designer is that the bottom half of the window is filled with code that describes the visualization in what SPSS calls VizML (Tableau calls their definition language VizQL) or GPL (the language defined in <em>The Grammar of Graphics</em>). The idea is that power users would be able to create or modify graphs directly in that language. While SPSS undoubtedly has users that are comfortable with programming and know its language very well, I have my doubts if those same users would be able to use a complex, declarative language to define visualizations. And even if, how visually effective will those be? Tableau steers the user in a way that makes it difficult to produce bad visualizations, and its user interface is powerful enough to allow a lot of flexibility without the need for tinkering with VizQL (though that would undoubtedly be a cool feature).</p>
<p>Viz Designer was made for producing graphics as the result of statistical analysis. As such, it does not currently have any exploratory tools. While this might be enough for people used to working with static graphs, it is a striking omission to somebody who is used to more interactive work. The ease with which the visualization can be changed, different dimensions added and removed, and especially the hierarchical layout of categorical dimensions (and the hierarchical treatment of time) make exploring a dataset in Tableau fun and interesting. None of that is currently possible in Viz Designer, and even something as basic as stacked dimensions on an axis requires some tricks or VizML hacking.</p>
<p>One area were Viz Designer is clearly ahead is its integration with SPSS. While that might seem obvious, it offers a vast array of data analysis capabilities and of course also allows them to tap into their existing user base. SPSS is also planning on hosting a repository of user-contributed templates on its website, so they will be able to learn from others and presumably discuss their creations. That is undoubtedly a good idea, and one that even Tableau could learn from (though to be fair, they have <a href="http://www.tableaucustomerconference.com/">their own user conference</a>).</p>
<p>Exposing the underlying engine and definition language is also interesting and might lead to some really interesting things. Involving their users is also a good thing and will certainly get people interested. In terms of features and interaction they still have a long way to go, though, and time will tell if Viz Designer can be more than a static back end to the actual (non-visual) analysis.</p>    ]]></content>
  </entry>
  <entry>
    <title>Presidential Demographics as Open-Source, More to Come</title>
    <link rel="alternate" type="text/html" href="http://eagereyes.org/blog/2008/presidential-demographics-open-source-more-to-come.html" />
    <id>http://eagereyes.org/blog/2008/presidential-demographics-open-source-more-to-come.html</id>
    <published>2008-08-31T22:10:54-04:00</published>
    <updated>2008-09-01T09:19:47-04:00</updated>
    <author>
      <name>Robert Kosara</name>
    </author>
    <category term="blog" />
    <category term="Applications" />
    <category term="Meta/Site News" />
    <summary type="html"><![CDATA[<p>The EagerEyes Labs' mission is to provide tools to gain insight into <a href="http://eagereyes.org/communication/Visual-Display-of-Relevant-Information.html">relevant data</a>&nbsp;to everybody. As part of that, the plan has always been to release the source code. The first piece of code is now published, and more is coming.    ]]></summary>
    <content type="html"><![CDATA[<p>The EagerEyes Labs' mission is to provide tools to gain insight into <a href="http://eagereyes.org/communication/Visual-Display-of-Relevant-Information.html">relevant data</a>&nbsp;to everybody. As part of that, the plan has always been to release the source code. The first piece of code is now published, and more is coming.<!--break--></p>
<p>I am starting with the most rec
<script src="http://eagereyes.org/sites/all/modules/tinytinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/en.js?k" type="text/javascript"></script>
ent, the&nbsp;<a href="http://eagereyes.org/applications/PresidentialDemographicsII.html">Presidential Demographics</a> applet. It is <a href="https://launchpad.net/eeo-presidentialdemographics">available as a project on Launchpad</a>, where you can download it from the <a href="https://launchpad.net/eeo-presidentialdemographics/+download">downloads tab</a>. The file is an Eclipse project that you can import directly into Eclipse or use the contained source files with any other Java IDE.</p>
<p>For revision control, I use <a href="http://bazaar-vcs.org/">Bazaar</a>, which is a distributed version control system (it's named after the influential essay <em><a href="http://en.wikipedia.org/wiki/The_Cathedral_and_the_Bazaar">The Cathedral and the Bazaar</a></em> on open source development models). The files for that are included (in the .bzr directory), and you can also checkout or branch the project directly from Launchpad. There is also an <a href="http://bazaar-vcs.org/BzrEclipse">Eclipse plugin for Bazaar</a>. Bazaar's great advantage is that it allows for a more decentralized style of development, which is typical for open source projects. So several people can work on the project independently and merge their changes in any way they see fit, without being tied to a central "master" repository.</p>
<p>This particular applet may not lend itself to massive distributed development, but perhaps somebody will find it useful. And there are more complex things coming that will perhaps lead to some community development.</p>
<p>I am currently reworking the code for the <a href="http://eagereyes.org/Applications/ZIPScribbleMap.html">ZIPScribble Maps</a>, and am planning on releasing that once it's in better shape (and depends on fewer external libraries). Future applets (and there are more in the works) will be published with source as much as possible.</p>
<p>Nathan of Flowing Data recently wrote a <a href="http://flowingdata.com/2008/08/29/a-case-for-open-source-data-visualization/">posting on open source and the question how "open" we should be</a>. I couldn't help but write in a comment that releasing your code should be a condition for publication. It's really unconscionable that we as academics sit on our code rather than sharing and building on it. So here's a first step in that direction.</p>    ]]></content>
  </entry>
</feed>
