<?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>Michael VanDaniker &#187; Axiis</title>
	<atom:link href="http://michaelvandaniker.com/blog/category/axiis/feed/" rel="self" type="application/rss+xml" />
	<link>http://michaelvandaniker.com/blog</link>
	<description>Data Visualization on the Flash Platform</description>
	<lastBuildDate>Sat, 13 Mar 2010 14:58:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Visualizing Historic Browser Statistics with Axiis</title>
		<link>http://michaelvandaniker.com/blog/2009/10/31/visualizing-historic-browser-statistics-with-axiis/</link>
		<comments>http://michaelvandaniker.com/blog/2009/10/31/visualizing-historic-browser-statistics-with-axiis/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 19:52:58 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Axiis]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Information Visualization]]></category>

		<guid isPermaLink="false">http://michaelvandaniker.com/blog/?p=263</guid>
		<description><![CDATA[For the beta release of Axiis I prepared a visualization showing the historical browser breakdown of visitors to W3schools.com.  Since then I&#8217;ve enhanced it a bit, adding the ability to filter by browser type, and Tom lent his artistic eye and did a little restyling.  Although the number of Axiis tutorials out there is growing [...]]]></description>
			<content:encoded><![CDATA[<p>For the beta release of <a href="http://axiis.org/">Axiis</a> I prepared a visualization showing the historical browser breakdown of visitors to <a href="http://www.w3schools.com/browsers/browsers_stats.asp">W3schools.com</a>.  Since then I&#8217;ve enhanced it a bit, adding the ability to filter by browser type, and <a href="http://www.twgonzalez.com/blog/">Tom</a> lent his artistic eye and did a little restyling.  Although the number of <a href="http://www.insideria.com/2009/07/axiis---an-introduction-and-tu.html">Axiis</a> <a href="http://saturnboy.com/2009/10/axiis-quest-for-cool/">tutorials</a> <a href="http://riverdalestation.net/2009/10/26/drilling-down-on-an-axiis-bubblechart-a-tutorial/">out</a> <a href="http://www.randytroppmann.com/2009/10/29/displaying-elevation-with-axiis-example/">there</a> is growing steadily, there are still very few, so I&#8217;ll dive deep and explain exactly how this visualization works.  Check it out <a href="http://www.michaelvandaniker.com/labs/browserVisualization/" target="_blank">here</a>.</p>
<p><a href="http://www.michaelvandaniker.com/labs/browserVisualization/" target="_blank"><img src="http://www.michaelvandaniker.com/images/browsers.png" alt="" /></a></p>
<p><strong>What am I looking at exactly?</strong></p>
<p>Each of the concentric rings are essentially pie charts showing the percentage of visitors using each browser for a particular time slice, starting with January 2002 in the center and working out to August 2009.  The numbers on W3schools.com don&#8217;t quite add up to 100% because they don&#8217;t report on browsers that make up less than 0.5% of their visitors.  This results in a gap at the end of each ring.</p>
<p><strong>How&#8217;s it done?</strong></p>
<p>This only took a few hours to construct, and the most time consuming part was parsing the data.  The HTML from W3schools wasn&#8217;t valid XHTML, so I couldn&#8217;t tear through it using AS3&#8242;s E4X parsing without doing some manual manipulation beforehand.  When all was said and done, I ended up formatting the data as XML with a series of &#8220;month&#8221; elements with &#8220;browser&#8221; children that detailed the share of each browser for the corresponding time period.  None of the parsing involved any of the Axiis framework &#8212; just a few loops and conditionals.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;data<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;month</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;August 2009&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;browser</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;IE7&quot;</span> <span style="color: #000066;">share</span>=<span style="color: #ff0000;">&quot;0.151&quot;</span> <span style="color: #000066;">month</span>=<span style="color: #ff0000;">&quot;August 2009&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;browser</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;IE6&quot;</span> <span style="color: #000066;">share</span>=<span style="color: #ff0000;">&quot;0.136&quot;</span> <span style="color: #000066;">month</span>=<span style="color: #ff0000;">&quot;August 2009&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;browser</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;IE8&quot;</span> <span style="color: #000066;">share</span>=<span style="color: #ff0000;">&quot;0.106&quot;</span> <span style="color: #000066;">month</span>=<span style="color: #ff0000;">&quot;August 2009&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;browser</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Firefox&quot;</span> <span style="color: #000066;">share</span>=<span style="color: #ff0000;">&quot;0.474&quot;</span> <span style="color: #000066;">month</span>=<span style="color: #ff0000;">&quot;August 2009&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;browser</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Chrome&quot;</span> <span style="color: #000066;">share</span>=<span style="color: #ff0000;">&quot;0.07&quot;</span> <span style="color: #000066;">month</span>=<span style="color: #ff0000;">&quot;August 2009&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;browser</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Safari&quot;</span> <span style="color: #000066;">share</span>=<span style="color: #ff0000;">&quot;0.033&quot;</span> <span style="color: #000066;">month</span>=<span style="color: #ff0000;">&quot;August 2009&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;browser</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Opera&quot;</span> <span style="color: #000066;">share</span>=<span style="color: #ff0000;">&quot;0.021&quot;</span> <span style="color: #000066;">month</span>=<span style="color: #ff0000;">&quot;August 2009&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/month<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
...</pre></div></div>

<p>Conceptually, there are two parts to the browser visualization: the concentric time slice rings and the wedges that divide the time slices down by browser.  To create this effect, I used Axiis&#8217;s embedded layouts.  Layouts loop over a given data provider, manipulate Degrafa geometry based on that data, and draw to the screen.  Layouts can be nested inside on another and behave analogously to nested loops in the programming world; for each iteration of an outer layout, the inner one will loop over all of its data, performing its expected tasks.</p>
<p><strong>The outer layout</strong></p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;"><span style="color: #7400FF;">&lt;axiis:DataCanvas</span> id=<span style="color: #ff0000;">&quot;dc&quot;</span></span>
<span style="color: #000000;">	width=<span style="color: #ff0000;">&quot;100%&quot;</span></span>
<span style="color: #000000;">	bottom=<span style="color: #ff0000;">&quot;20&quot;</span></span>
<span style="color: #000000;">	top=<span style="color: #ff0000;">&quot;120&quot;</span><span style="color: #7400FF;">&gt;</span></span>
	<span style="color: #000000;"><span style="color: #7400FF;">&lt;axiis:layouts</span><span style="color: #7400FF;">&gt;</span></span>
		<span style="color: #000000;"><span style="color: #7400FF;">&lt;axiis:ConcentricWedgeLayout</span> id=<span style="color: #ff0000;">&quot;radialLayout&quot;</span></span>
<span style="color: #000000;">			width=<span style="color: #ff0000;">&quot;{dc.width}&quot;</span></span>
<span style="color: #000000;">			height=<span style="color: #ff0000;">&quot;{dc.height - 10}&quot;</span></span>
<span style="color: #000000;">			innerRadius=<span style="color: #ff0000;">&quot;52&quot;</span><span style="color: #7400FF;">&gt;</span></span>
...</pre></div></div>

<p>When the application is done going through its creation process, an event handler is called which parses the XML and passes the resulting ArrayCollection of month Objects to the outer layout, which is an instance of ConcentricWedgeLayout. This type of layout manipulates the inner and outer radii of a Degrafa Wedge such that the during the course of the loop the Wedge will have taken on all the values necessary to fill the space available.  After each iteration, the Wedge and the browser Objects that belong to the current month are passed to the inner layout.</p>
<p><strong>The inner layout</strong></p>
<p>The inner layout was custom-built for this visualization.  It leverages some of the events fired during the layout&#8217;s render cycle to adjust the angle of the wedge. The preRender event is fired at the very beginning of the layout&#8217;s render cycle, before a single iteration has happened.  During preRender, the currentArc property is set to 0.  This makes sure we&#8217;re always starting from the 12:00 position on the visualization.  Since this layout has drawingGeometries defined, the layout dispatches the itemPreDraw event right before drawing them to the screen.  In this example, the itemPreDraw handler updates currentArc to the appropriate value to show the percentage for the browser the layout is currently holding.</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;"><span style="color: #7400FF;">&lt;axiis:LinearScale</span> id=<span style="color: #ff0000;">&quot;arcScale&quot;</span></span>
<span style="color: #000000;">	minValue=<span style="color: #ff0000;">&quot;0&quot;</span></span>
<span style="color: #000000;">	maxValue=<span style="color: #ff0000;">&quot;1&quot;</span></span>
<span style="color: #000000;">	minLayout=<span style="color: #ff0000;">&quot;0&quot;</span></span>
<span style="color: #000000;">	maxLayout=<span style="color: #ff0000;">&quot;359.99&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
...
<span style="color: #000000;"><span style="color: #7400FF;">&lt;axiis:BaseLayout</span> id=<span style="color: #ff0000;">&quot;arcLayout&quot;</span></span>
<span style="color: #000000;">	dataProvider=<span style="color: #ff0000;">&quot;{radialLayout.currentDatum.browser}&quot;</span></span>
<span style="color: #000000;">	preRender=<span style="color: #ff0000;">&quot;{currentArc = 0}&quot;</span></span>
<span style="color: #000000;">	itemPreDraw=<span style="color: #ff0000;">&quot;{currentArc += arcScale.valueToLayout(arcLayout.currentDatum.share);}&quot;</span></span>
<span style="color: #000000;">...<span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>Note the use of the LinearScale here.  The Axiis scale classes create a mapping between two data spaces that we call &#8220;value&#8221; and &#8220;layout&#8221;.  In this example a linear mapping is created between the range of possible percentages (0 &#8211; 1) and the range of possible angles (0 &#8211; 359.99). The valueToLayout method does exactly what you&#8217;d expect it to.  Given a number from the value space, it will return a corresponding number in the layout space.  This is used to advance the reference Wedge&#8217;s angle by the appropriate amount.</p>
<p><strong>Drawing to the screen</strong></p>
<p>Aside from manipulating the angle of the reference Wedge, the inner layout is also responsible for rendering a Wedge to the screen.  The reference Wedge and the drawing Wedge are two separate instances, but the latter derives its properties from the former.</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;"><span style="color: #7400FF;">&lt;geometry:Wedge</span> id=<span style="color: #ff0000;">&quot;wedge&quot;</span></span>
<span style="color: #000000;">	centerX=<span style="color: #ff0000;">&quot;{radialLayout.width/2}&quot;</span></span>
<span style="color: #000000;">	centerY=<span style="color: #ff0000;">&quot;{radialLayout.height/2}&quot;</span></span>
<span style="color: #000000;">	innerRadius=<span style="color: #ff0000;">&quot;{radialLayout.currentReference['innerRadius']}&quot;</span></span>
<span style="color: #000000;">	outerRadius=<span style="color: #ff0000;">&quot;{radialLayout.currentReference['outerRadius']}&quot;</span></span>
<span style="color: #000000;">	startAngle=<span style="color: #ff0000;">&quot;{270 + currentArc - arcScale.valueToLayout(arcLayout.currentDatum.share)}&quot;</span></span>
<span style="color: #000000;">	arc=<span style="color: #ff0000;">&quot;{arcScale.valueToLayout(arcLayout.currentDatum.share)}&quot;</span><span style="color: #7400FF;">&gt;</span></span>
...
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/geometry:Wedge</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>A mapping of browser names to colors defined at the top of the application is used to determine the fill and stroke applied to the Wedge.</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;"><span style="color: #7400FF;">&lt;geometry:fill</span><span style="color: #7400FF;">&gt;</span></span>
	<span style="color: #000000;"><span style="color: #7400FF;">&lt;degrafa:SolidFill</span> id=<span style="color: #ff0000;">&quot;wedgeFill&quot;</span></span>
<span style="color: #000000;">		color=<span style="color: #ff0000;">&quot;{browserColors[arcLayout.currentDatum.name]}&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/geometry:fill</span><span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;geometry:stroke</span><span style="color: #7400FF;">&gt;</span></span>
	<span style="color: #000000;"><span style="color: #7400FF;">&lt;degrafa:SolidStroke</span> id=<span style="color: #ff0000;">&quot;wedgeStroke&quot;</span></span>
<span style="color: #000000;">		color=<span style="color: #ff0000;">&quot;{ColorUtil.adjustBrightness(browserColors[arcLayout.currentDatum.name],-60)}&quot;</span></span>
<span style="color: #000000;">		pixelHinting=<span style="color: #ff0000;">&quot;true&quot;</span></span>
<span style="color: #000000;">		alpha=<span style="color: #ff0000;">&quot;.7&quot;</span></span>
<span style="color: #000000;">		weight=<span style="color: #ff0000;">&quot;.5&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/geometry:stroke</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p><strong>Making  it interactive &#8211; States</strong></p>
<p>Axiis states are conceptually similar to Flex&#8217;s states; they define alternative properties for the rendered geometries based on certain conditions. When the user interacts with a rendered geometry, some familiar events are dispatched (mouseOver, mouseOut, etc.).  The layouts capture each of these events and if there are any states registered with the event type in question, the state is applied.  This declaration says that when the mouse is over a wedge the wedgeFill should have its color property dimmed and this action should be undone when the mouse is moved off.</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;"><span style="color: #7400FF;">&lt;axiis:State</span> enterStateEvent=<span style="color: #ff0000;">&quot;mouseOver&quot;</span></span>
<span style="color: #000000;">	exitStateEvent=<span style="color: #ff0000;">&quot;mouseOut&quot;</span></span>
<span style="color: #000000;">	targets=<span style="color: #ff0000;">&quot;{[wedgeFill]}&quot;</span></span>
<span style="color: #000000;">	properties=<span style="color: #ff0000;">&quot;{['color']}&quot;</span></span>
<span style="color: #000000;">	values=<span style="color: #ff0000;">&quot;{[ColorUtil.adjustBrightness(int(wedgeStroke.color),-60)]}&quot;</span><span style="color: #7400FF;">/&gt;</span></span></pre></div></div>

<p><strong>The filtering legend</strong></p>
<p>If you followed how the layout routine works in the main visualization, the construction of the legend is a no-brainer.  It&#8217;s a VBoxLayout &#8212; a layout which spaces out RegularRectangles across its available height &#8212; and it draws a colored square and some text to the screen for each browser name.</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;"><span style="color: #7400FF;">&lt;axiis:DataCanvas</span> id=<span style="color: #ff0000;">&quot;legendDC&quot;</span></span>
<span style="color: #000000;">	width=<span style="color: #ff0000;">&quot;200&quot;</span></span>
<span style="color: #000000;">	height=<span style="color: #ff0000;">&quot;{legendLayout.itemCount * 18}&quot;</span></span>
<span style="color: #000000;">	bottom=<span style="color: #ff0000;">&quot;5&quot;</span></span>
<span style="color: #000000;">	left=<span style="color: #ff0000;">&quot;5&quot;</span><span style="color: #7400FF;">&gt;</span></span>
	<span style="color: #000000;"><span style="color: #7400FF;">&lt;axiis:layouts</span><span style="color: #7400FF;">&gt;</span></span>
		<span style="color: #000000;"><span style="color: #7400FF;">&lt;axiis:VBoxLayout</span> id=<span style="color: #ff0000;">&quot;legendLayout&quot;</span></span>
<span style="color: #000000;">			width=<span style="color: #ff0000;">&quot;{legendDC.width}&quot;</span></span>
<span style="color: #000000;">			height=<span style="color: #ff0000;">&quot;{legendDC.height}&quot;</span></span>
<span style="color: #000000;">			showDataTips=<span style="color: #ff0000;">&quot;false&quot;</span></span>
<span style="color: #000000;">			itemClick=<span style="color: #ff0000;">&quot;legendLayout_itemClickHandler(event)&quot;</span><span style="color: #7400FF;">&gt;</span></span>
			<span style="color: #000000;"><span style="color: #7400FF;">&lt;axiis:drawingGeometries</span><span style="color: #7400FF;">&gt;</span></span>
				...
			<span style="color: #000000;"><span style="color: #7400FF;">&lt;/axiis:drawingGeometries</span><span style="color: #7400FF;">&gt;</span></span>
			<span style="color: #000000;"><span style="color: #7400FF;">&lt;axiis:states</span><span style="color: #7400FF;">&gt;</span></span>
				<span style="color: #000000;"><span style="color: #7400FF;">&lt;axiis:State</span> enterStateEvent=<span style="color: #ff0000;">&quot;selected&quot;</span></span>
<span style="color: #000000;">					exitStateEvent=<span style="color: #ff0000;">&quot;unselected&quot;</span></span>
<span style="color: #000000;">					targets=<span style="color: #ff0000;">&quot;{[legendMarkerFill,legendLabel]}&quot;</span></span>
<span style="color: #000000;">					properties=<span style="color: #ff0000;">&quot;{['alpha','italic']}&quot;</span></span>
<span style="color: #000000;">					values=<span style="color: #ff0000;">&quot;{[.1,true]}&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
			<span style="color: #000000;"><span style="color: #7400FF;">&lt;/axiis:states</span><span style="color: #7400FF;">&gt;</span></span>
		<span style="color: #000000;"><span style="color: #7400FF;">&lt;/axiis:VBoxLayout</span><span style="color: #7400FF;">&gt;</span></span>
	<span style="color: #000000;"><span style="color: #7400FF;">&lt;/axiis:layouts</span><span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/axiis:DataCanvas</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>The visualization allows the user to click on items in the legend to filter out the corresponding browsers.  To do this, there is an handler set up on itemClick event on the legend layout.  itemClick is dispatched when a rendered geometry belonging to the layout is clicked.  The event handler updates the list of browsers to include.  In the declaration for the inner layout on the main visualization, a dataFilterFunction is defined which checks the current browser&#8217;s name against the list of included browsers.  Any browsers that fail this test (i.e. the filter function return false) are skipped by the layout.</p>
<p>The state defined on the legend uses two custom event types, &#8220;selected&#8221; and &#8220;unselected&#8221;.  The &#8220;selected&#8221; event is dispatched when a rendered geometry is clicked and the &#8220;unselected&#8221; event is dispatched when that same geometry is clicked again.  In the selected state the text becomes italicized and the fill for the legend marker becomes more transparent, indicating that the browser has been filtered out.</p>
<p>The filtering feature take advantage of a bug fix that was made after the release of the beta that caused problems when all of the data items were filtered from a layout.  The swc included in the view-source download is compiled from Axiis&#8217;s development branch.  We use our repository in a slightly non-traditional manner.  The trunk contains our latest release and our &#8220;development&#8221; branch contain the latest check-in.  Although the development branch is more or less stable keep in mind that it is where we work out new features, so it may not be completely polished and bug-free.  If you run into any bugs or need help with something, give us a holler on our google group.  Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://michaelvandaniker.com/blog/2009/10/31/visualizing-historic-browser-statistics-with-axiis/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>CFUnited Demo &#8211; Axiis Treemaps</title>
		<link>http://michaelvandaniker.com/blog/2009/08/16/cfunited-demo-axiis-treemaps/</link>
		<comments>http://michaelvandaniker.com/blog/2009/08/16/cfunited-demo-axiis-treemaps/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 00:57:47 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Axiis]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Information Visualization]]></category>

		<guid isPermaLink="false">http://michaelvandaniker.com/blog/?p=260</guid>
		<description><![CDATA[Yesterday Tom Gonzalez and I gave a presentation on Axiis at CFUnited. After Tom reviewed the concepts behind the framework, I demonstrated how to build a custom visualization. The resulting application showed a squarified treemap representing the make up of Axiis, Degrafa, Flex, and the Flex Data Visualization framework. I cleaned up the code from [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday <a href="http://www.twgonzalez.com/blog/">Tom Gonzalez</a> and I gave a presentation on Axiis at <a href="http://cfunited.com/2009/">CFUnited</a>.  After Tom reviewed the concepts behind the framework, I demonstrated how to build a custom visualization.  The resulting application showed a squarified <a href="http://en.wikipedia.org/wiki/Treemapping">treemap</a> representing the make up of <a href="http://axiis.org/">Axiis</a>, <a href="http://degrafa.org/">Degrafa</a>, Flex, and the Flex Data Visualization framework.  I cleaned up the code from the presentation, added some pretty fills, and committed it to the development branch of the <a href="http://code.google.com/p/axiis/">repository</a>.  You can view the results <a href="http://www.michaelvandaniker.com/labs/axiis/treemap/TreemapExample.html">here</a> and the source <a href="http://www.michaelvandaniker.com/labs/axiis/treemap/srcview/index.html">here</a>.<br/><br />
<a href="http://www.michaelvandaniker.com/labs/axiis/treemap/TreemapExample.html"><img src="http://www.michaelvandaniker.com/images/axiis-treemap.png"/></a><br />
In the treemap, the area of the main rectangle represents the number of lines of code in the selected framework, and the smaller rectangles are sized proportionally based on the number of lines of code in each class.  The rectangles are colored based on the percentage of methods marked private. Red rectangles represent classes that are mostly private while green rectangles show classes that are more public or protected.  The more intense the color, the further the classes is from being 50% private.  It&#8217;s a pretty meaningless metric, but it demonstrates what the treemap can do.</p>
]]></content:encoded>
			<wfw:commentRss>http://michaelvandaniker.com/blog/2009/08/16/cfunited-demo-axiis-treemaps/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Axiis Video Tutorial</title>
		<link>http://michaelvandaniker.com/blog/2009/06/24/axiis-video-tutorial/</link>
		<comments>http://michaelvandaniker.com/blog/2009/06/24/axiis-video-tutorial/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 10:22:38 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Axiis]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Information Visualization]]></category>

		<guid isPermaLink="false">http://michaelvandaniker.com/blog/?p=251</guid>
		<description><![CDATA[An experimental alpha release of Axiis has been available since 360&#124;Flex Indy.  I put together this screencast to help people get up and running with the framework. We&#8217;ve gotten some feedback from a few people already, and some users have already told us about the awesome stuff they&#8217;re making.  Remember during Tom&#8217;s presentation when he [...]]]></description>
			<content:encoded><![CDATA[<p>An experimental alpha release of <a href="http://axiis.org" target="_blank">Axiis</a> has been available since <a href="http://www.360flex.com/" target="_blank">360|Flex Indy</a>.  I put together <strong><a href="http://vimeo.com/5301354" target="_blank">this screencast</a></strong> to help people get up and running with the framework.</p>
<p>We&#8217;ve gotten some feedback from a few people already, and some users have already told us about the awesome stuff they&#8217;re making.  Remember during Tom&#8217;s presentation when he showed the Smith Chart, the <a href="http://en.wikipedia.org/wiki/File:Smith_chart.jpg" target="_blank">insanely complex ring of circles</a> that motivated some of our work?  Yeah, we never attempted to implement that.  It was just meant to get people thinking about some of the things that can&#8217;t easily be done with other frameworks.  Well, <a href="http://www.flexjunk.com/" target="_blank">Andrew Westberg</a> took that slide as a challenge and has already <a href="http://www.flexjunk.com/2009/05/30/developing-a-smith-chart-using-axiis-and-degrafa/" target="_blank">implemented</a> it!  Seeing what everyone is building makes this all worthwhile!</p>
<p>So as you develop, keep in mind that this is alpha software.  If you&#8217;re running into problems with something, please let us know so we can set you on the right path and improve things for the next release.  If you&#8217;ve got the Axiis swc sitting on your machine, build something cool, tell us about it, and let us know what went right/wrong.  If you haven&#8217;t downloaded the swc, you can get it <a href="http://code.google.com/p/axiis/downloads/list" target="_blank">here</a>.</p>
<p>You can get in contact with us by emailing tom or michael [at] axiis.org or direct a tweet towards <a href="http://twitter.com/axiis_dataviz" target="_blank">@Axiis_DataViz</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://michaelvandaniker.com/blog/2009/06/24/axiis-video-tutorial/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Axiis &#8211; A different kind of data visualization framework</title>
		<link>http://michaelvandaniker.com/blog/2009/04/10/axiis-a-different-kind-of-data-visualization-framework/</link>
		<comments>http://michaelvandaniker.com/blog/2009/04/10/axiis-a-different-kind-of-data-visualization-framework/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 04:25:55 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Axiis]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Information Visualization]]></category>

		<guid isPermaLink="false">http://michaelvandaniker.com/blog/?p=231</guid>
		<description><![CDATA[Last week Tom Gonzalez wrote a blog post announcing Axiis, the open-source data visualization framework we&#8217;ve been developing. Tom goes into a good deal of depth about how the system works, so I won&#8217;t rehash all those specifics here. I just wanted to share my take on what Axiis is meant to do at a [...]]]></description>
			<content:encoded><![CDATA[<p>Last week <a href="http://www.twgonzalez.com/blog/">Tom Gonzalez</a> wrote a blog post announcing Axiis, the open-source data visualization framework we&#8217;ve been developing.  Tom goes into a good deal of depth about <a href="http://www.twgonzalez.com/blog/?p=172">how the system works</a>, so I won&#8217;t rehash all those specifics here.  I just wanted to share my take on what Axiis is meant to do at a high level.</p>
<p>Axiis is not a reimagining of the Flex charting framework or any other comparable library.  Axiis can be more accurately described as a <strong>data-driven layout engine for <a href="http://degrafa.org/">Degrafa</a> geometry</strong>.  We see the primary use of this engine being data viz, so we&#8217;re billing it as a data visualization framework.</p>
<p>So what do I mean when I say &#8220;data-driven layout engine?&#8221;  When using Axiis, you describe the geometry necessary to render a single element in your data set.  The engine then iterates over the entire data set, creating and laying out all necessary instances of that geometry.  This process allows you to create seeming complex visualizations in a relatively short amount of markup.</p>
<p>Take a column chart as an example.  (Though not all that complex, it still takes a fair bit of code to write a column chart from scratch.)  A column chart is simply a series of rectangles laid out horizontally where each rectangle&#8217;s height represents the value it is rendering.  So to create that in Axiis, you declare a horizontal layout with a rectangle geometry.  You then set up a binding expression to compute the height for each rectangle.  As the engine runs the binding expression executes, and the geometries are rendered side by side and with correct heights.  Huzzah!</p>
<p>The column chart is just a basic example.  Axiis is capable of much more than simple Cartesian charts.  Layouts can have child layouts as well.  This allows you to iterate over the top level of your data set in a parent layout and then iterate over another property in the child.  Tack on Degrafa&#8217;s ability to compose geometries, and you&#8217;ve got the tools to create very expressive visualizations.  Tom has put together an example he calls the <a href="http://www.twgonzalez.com/blog/?p=143">Stacked Wedge</a> that demonstrates nested layouts and geometry composition.  It represents data in a way that would be difficult to achieve with other frameworks, it looks beautiful, and the core of it is only 100 lines of markup!</p>
<p>Axiis is under heavy development, and it is rapidly approaching an alpha release.  Keep your eyes here and on <a href="http://www.twgonzalez.com/blog/">Tom&#8217;s blog</a> over the next few weeks for news and examples of the full scale of Axiis&#8217; capabilities.</p>
]]></content:encoded>
			<wfw:commentRss>http://michaelvandaniker.com/blog/2009/04/10/axiis-a-different-kind-of-data-visualization-framework/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
