Archive for tag: protovis

Protovis: analysis of the Becker’s barley example sketch

11 February, 2011 (02:45) | data visualization, protovis, tips | By: jerome

We are taking a look at the Protovis Becker’s Barley example. Data: The code begins by defining a function that will be used throughout the program. this function expects an array of associative arrays which have the key “yield”. What it does is that it returns the median of all the values of the key […]

Working with data in protovis – interlude: protovis nesting vs tableau

11 February, 2011 (02:40) | charts, data visualization, protovis, tips | By: jerome

Protovis, like Tableau, are based on the grammar of graphics framework. In a nutshell, in both environments, a chart designer can map visual attributes (such as x or y dimension, color, shape, etc.) to dimensions of data. The flat file which Becker’s Barley is based on can be used in Tableau public nearly as is. […]

Working with data in protovis – part 3 of 5

9 February, 2011 (19:08) | charts, data visualization, protovis, tips | By: jerome

Previous : Multi-dimensional arrays, inheritance and hierarchy Short interlude: what can be done with arrays in javascript? Now that we have a grasp on how arrays work and how they can be used in protovis, let’s take a step back and look at some very useful methods for working with arrays in standard javascript. Sorting […]

Working with data in protovis – part 2 of 5

8 February, 2011 (19:51) | charts, data visualization, protovis, tips, Uncategorized | By: jerome

Previous post: simple arrays Multi-dimensional arrays, associative arrays and protovis Even for a simple chart, chances are that you’ll have more than a single series of numbers to represent. For instance, you could have labels to describe what they mean, several series, and so on and so forth. So, let’s say we want to add […]

Working with data in protovis – part 1 of 5

7 February, 2011 (19:41) | data visualization, protovis, tips | By: jerome

When I started using protovis I had only a very basic knowledge of javascript, which in theory isn’t a problem as protovis is meant to be learned by example, and as it has its own logic and structure which is different from typical javascript code. So I started by looking and modifying examples which was […]

Are the richest Americans the best educated?

29 January, 2011 (01:38) | charts, data visualization | By: jerome

This all started from this map from GOOD magazine. It went viral on Twitter, which puzzled the data vis community. Moritz Stefaner notably asked others for advice and input, and Andy Kirk, then Enrico Bertini answered in some detail.