<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Xaprb &#187; Edward Tufte</title>
	<atom:link href="http://www.xaprb.com/blog/tag/edward-tufte/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xaprb.com/blog</link>
	<description>Stay curious!</description>
	<lastBuildDate>Thu, 09 Feb 2012 03:58:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to lie beautifully with FusionCharts</title>
		<link>http://www.xaprb.com/blog/2009/09/28/how-to-lie-beautifully-with-fusioncharts/</link>
		<comments>http://www.xaprb.com/blog/2009/09/28/how-to-lie-beautifully-with-fusioncharts/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 03:14:16 +0000</pubDate>
		<dc:creator>Xaprb</dc:creator>
				<category><![CDATA[Commentary]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[charting]]></category>
		<category><![CDATA[Edward Tufte]]></category>
		<category><![CDATA[FusionCharts]]></category>
		<category><![CDATA[graphing]]></category>
		<category><![CDATA[Infographics]]></category>

		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=1310</guid>
		<description><![CDATA[Gotta love those three-dimensional charts. They sure are shiny! Look at this: This is a screenshot of FusionCharts graphs. But wait, on closer inspection: 5 and 7 are the same height? 6 is exactly twice as tall as 2? Pseudo-three-dimensional charts are the bane of my existence. Tufte would definitely not approve. (If you don&#8217;t [...]


<strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/10/09/would-tufte-approve-of-mixing-units-on-a-graph/' rel='bookmark' title='Permanent Link: Would Tufte approve of mixing units on a graph?'>Would Tufte approve of mixing units on a graph?</a></li>
<li><a href='http://www.xaprb.com/blog/2010/01/09/review-cacti-network-monitoring-kundu-lavlu/' rel='bookmark' title='Permanent Link: A review of Cacti 0.8 Network Monitoring by Dinangkur Kundu and S. M. Ibrahim Lavlu'>A review of Cacti 0.8 Network Monitoring by Dinangkur Kundu and S. M. Ibrahim Lavlu</a></li>
<li><a href='http://www.xaprb.com/blog/2009/10/07/got-virtual-office/' rel='bookmark' title='Permanent Link: Got virtual office?'>Got virtual office?</a></li>
<li><a href='http://www.xaprb.com/blog/2007/08/24/mysql-camp-2007/' rel='bookmark' title='Permanent Link: MySQL Camp 2007'>MySQL Camp 2007</a></li>
<li><a href='http://www.xaprb.com/blog/2010/01/15/review-get-it-done-with-mysql-peter-brawley-arthur-fuller/' rel='bookmark' title='Permanent Link: A review of Get it Done with MySQL 5&#038;6 by Peter Brawley and Arthur Fuller'>A review of Get it Done with MySQL 5&#038;6 by Peter Brawley and Arthur Fuller</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>Gotta love those three-dimensional charts.  They sure are shiny!  Look at this:</p>

<div id="attachment_1311" class="wp-caption aligncenter" style="width: 474px"><img src="http://www.xaprb.com/blog/wp-content/uploads/2009/09/graphs.png" alt="FusionCharts graphs" title="FusionCharts graphs" width="464" height="195" class="size-full wp-image-1311" /><p class="wp-caption-text">FusionCharts graphs</p></div>

<p>This is a screenshot of <a href="http://www.fusioncharts.com/">FusionCharts graphs</a>.  But wait, on closer inspection: 5 and 7 are the same height?  6 is exactly twice as tall as 2?</p>

<p>Pseudo-three-dimensional charts are the bane of my existence.  <a href="http://www.amazon.com/Visual-Display-Quantitative-Information-2nd/dp/0961392142?tag=xaprb-20">Tufte</a> would definitely not approve. (If you don&#8217;t have <a href="http://www.amazon.com/Visual-Display-Quantitative-Information-2nd/dp/0961392142?tag=xaprb-20">The Visual Display of Quantitative Information</a>, you should really get it and give it a read.)</p>

<p><strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/10/09/would-tufte-approve-of-mixing-units-on-a-graph/' rel='bookmark' title='Permanent Link: Would Tufte approve of mixing units on a graph?'>Would Tufte approve of mixing units on a graph?</a></li>
<li><a href='http://www.xaprb.com/blog/2010/01/09/review-cacti-network-monitoring-kundu-lavlu/' rel='bookmark' title='Permanent Link: A review of Cacti 0.8 Network Monitoring by Dinangkur Kundu and S. M. Ibrahim Lavlu'>A review of Cacti 0.8 Network Monitoring by Dinangkur Kundu and S. M. Ibrahim Lavlu</a></li>
<li><a href='http://www.xaprb.com/blog/2009/10/07/got-virtual-office/' rel='bookmark' title='Permanent Link: Got virtual office?'>Got virtual office?</a></li>
<li><a href='http://www.xaprb.com/blog/2007/08/24/mysql-camp-2007/' rel='bookmark' title='Permanent Link: MySQL Camp 2007'>MySQL Camp 2007</a></li>
<li><a href='http://www.xaprb.com/blog/2010/01/15/review-get-it-done-with-mysql-peter-brawley-arthur-fuller/' rel='bookmark' title='Permanent Link: A review of Get it Done with MySQL 5&#038;6 by Peter Brawley and Arthur Fuller'>A review of Get it Done with MySQL 5&#038;6 by Peter Brawley and Arthur Fuller</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.xaprb.com/blog/2009/09/28/how-to-lie-beautifully-with-fusioncharts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Would Tufte approve of mixing units on a graph?</title>
		<link>http://www.xaprb.com/blog/2008/10/09/would-tufte-approve-of-mixing-units-on-a-graph/</link>
		<comments>http://www.xaprb.com/blog/2008/10/09/would-tufte-approve-of-mixing-units-on-a-graph/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 01:58:22 +0000</pubDate>
		<dc:creator>Xaprb</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Cacti]]></category>
		<category><![CDATA[Edward Tufte]]></category>
		<category><![CDATA[graphing]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MySQL Enterprise Monitor]]></category>

		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=603</guid>
		<description><![CDATA[I&#8217;ve created a set of Cacti templates for graphing stats about MySQL. While these were based on several other people&#8217;s work, there are many improvements. One of them in particular I want to bring up, and I&#8217;ll go so far as to say it ought to be a &#8220;best practice&#8221; for graphing. That is, don&#8217;t [...]


<strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/03/22/whats-the-best-way-to-choose-graph-colors/' rel='bookmark' title='Permanent Link: What&#8217;s the best way to choose graph colors?'>What&#8217;s the best way to choose graph colors?</a></li>
<li><a href='http://www.xaprb.com/blog/2010/04/20/version-1-1-7-of-better-cacti-templates-released/' rel='bookmark' title='Permanent Link: Version 1.1.7 of Better Cacti Templates released'>Version 1.1.7 of Better Cacti Templates released</a></li>
<li><a href='http://www.xaprb.com/blog/2010/05/25/a-better-way-to-build-cacti-templates/' rel='bookmark' title='Permanent Link: A better way to build Cacti templates'>A better way to build Cacti templates</a></li>
<li><a href='http://www.xaprb.com/blog/2009/04/25/secure-easy-cacti-graphing-without-snmp/' rel='bookmark' title='Permanent Link: Secure, easy Cacti graphing without SNMP'>Secure, easy Cacti graphing without SNMP</a></li>
<li><a href='http://www.xaprb.com/blog/2009/05/07/version-112-of-improved-cacti-templates-released/' rel='bookmark' title='Permanent Link: Version 1.1.2 of improved Cacti templates released'>Version 1.1.2 of improved Cacti templates released</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve created a set of <a href="http://code.google.com/p/mysql-cacti-templates/">Cacti templates for graphing stats about MySQL</a>.  While these were based on several other people&#8217;s work, there are many improvements.  One of them in particular I want to bring up, and I&#8217;ll go so far as to say it ought to be a &#8220;best practice&#8221; for graphing.  That is, don&#8217;t mix units on a graph.</p>

<span id="more-603"></span>

<p>In the simplest terms, this means that just because things are related doesn&#8217;t mean they belong together.  I made an effort to separate things onto different graphs when they have different units.  For example, the query cache metrics don&#8217;t all belong together.  There are memory metrics, there are block metrics, and there are metrics about queries.  If you jam them all together, the differences in the units will cause various graphs to obliterate each other.  Some values are much larger than others, and that&#8217;ll cause some values to be minuscule on the graph.</p>

<p>The graph templates that inspired me to create mine mashed them all together and then scaled things <a href="http://www.xkcd.com/485/">logarithmically</a> to compensate for the resulting problems.  This does not address the root of the matter.  By contrast, my templates split them apart, so all the things whose unit is &#8220;query&#8221; are on one graph together.  Then I looked at the remaining stats (units: blocks and units: bytes) and decided that in the interest of not having way too many graphs, I&#8217;d put them together.  I&#8217;m still not sure this was a great idea, and I have a nagging Tufte voice in my head.  Anyway, I tried to strike a balance in this specific case, but in general I kept things separate.</p>

<p>One of the great things about Cacti is that you can graph whatever you want.  You can graph the temperature on your server&#8217;s hard drives, or the Dow Jones Industrial Average, or whatever.  So you can have a single graphing solution for your whole company&#8217;s needs.  By contrast, MySQL Enterprise Monitor is focused on a single purpose.  So it should do a really good job at it, right?  Actually, no, they get it wrong too &#8212; they mix units.  Here you can see exactly the effect I&#8217;m talking about; one value can obliterate the other.  (You get points if you guess what&#8217;s going on in this graph.)</p>

<div id="attachment_608" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.xaprb.com/blog/wp-content/uploads/2008/10/mysql-enterprise-monitor-query-cache.png"><img src="http://www.xaprb.com/blog/wp-content/uploads/2008/10/mysql-enterprise-monitor-query-cache-300x121.png" alt="MySQL Enterprise Monitor Query Cache Graph" title="mysql-enterprise-monitor-query-cache" width="300" height="121" class="size-medium wp-image-608" /></a><p class="wp-caption-text">MySQL Enterprise Monitor Query Cache Graph</p></div>

<p>I&#8217;ve tried to make the Cacti templates for MySQL as useful as possible, and judging by the graphs I see on client sites (these templates are quite popular, independent of me or my employer) they do a pretty good job.  There&#8217;s still room for improvement, though.  I&#8217;m adding more carefully selected bits of  information into the graphs, and making them more robust to deal with bizarre errors that happen in real life.  And of course, always finding new ways to work around the limitations of PHP and Cacti, both of which have their quirks.</p>

<p>Are there wishes you have for these graphs, too?  If so, <a href="http://code.google.com/p/mysql-cacti-templates/issues/list">submit an issue report on the Google Code project</a>.  Just don&#8217;t ask me to graph unrelated things together, OK?</p>

<p>PS: sometimes things with the same units are still much bigger or smaller than each other.  That&#8217;s why my templates always print out the values in numbers along the bottom of the graph, so you can see the magnitude of the values, not just look at the lines.</p>

<p><strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/03/22/whats-the-best-way-to-choose-graph-colors/' rel='bookmark' title='Permanent Link: What&#8217;s the best way to choose graph colors?'>What&#8217;s the best way to choose graph colors?</a></li>
<li><a href='http://www.xaprb.com/blog/2010/04/20/version-1-1-7-of-better-cacti-templates-released/' rel='bookmark' title='Permanent Link: Version 1.1.7 of Better Cacti Templates released'>Version 1.1.7 of Better Cacti Templates released</a></li>
<li><a href='http://www.xaprb.com/blog/2010/05/25/a-better-way-to-build-cacti-templates/' rel='bookmark' title='Permanent Link: A better way to build Cacti templates'>A better way to build Cacti templates</a></li>
<li><a href='http://www.xaprb.com/blog/2009/04/25/secure-easy-cacti-graphing-without-snmp/' rel='bookmark' title='Permanent Link: Secure, easy Cacti graphing without SNMP'>Secure, easy Cacti graphing without SNMP</a></li>
<li><a href='http://www.xaprb.com/blog/2009/05/07/version-112-of-improved-cacti-templates-released/' rel='bookmark' title='Permanent Link: Version 1.1.2 of improved Cacti templates released'>Version 1.1.2 of improved Cacti templates released</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.xaprb.com/blog/2008/10/09/would-tufte-approve-of-mixing-units-on-a-graph/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

