Archive for month: February, 2011

The top TV earners are not found on tabloids.

22 February, 2011 (19:23) | charts, protovis | By: jerome

This is my contribution to Flowing Data challenge: visualize this / top tv earners. When I looked at the dataset provided by Nathan I first wondered what was missing. Quite a few stars were missing in the list. I added Simon Baker whose Mentalist gets a huge audience and who is said to be getting […]

La france qui exporte

18 February, 2011 (20:10) | data visualization, protovis | By: jerome

This week, I was made aware of a new set of maps by French ministry of Foreign Trade, called cartographie de la France qui exporte (map of France exports) (link). Since I’m interested in the topic and that I know that French public services have killer cartographers I was eager to see what was so […]

Working with data in protovis: part 5 of 5

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

previous: reshaping complex arrays (4/5) Working with layouts In this final part, we’re going to look at how we can shape our data to use the protovis built-in layouts such as stacked areas, treemaps or force-directed graphs. This is not a tutorial on how to use layouts stricto sensu, and I advise anyone interested to […]

Working with data in protovis – part 4 of 5

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

Previous: array functions in javascript and protovis Reshaping complex arrays This really is what protovis data processing is all about. In today’s tutorial, I am going to refer extensively to protovis’s Becker’s Barley example. One reason for that is that it’s also used in the API documentation of the methods we are going to cover, […]

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 […]

Working with data in protovis

7 February, 2011 (19:31) | Uncategorized | By: jerome

For the past year or so I have been dabbling with protovis. I don’t have a heavy CS background but protovis is supposedly easy to pick up for people like me, who are vaguely aware that computers can make calculations but who need to check the manual for the most mundane programming instructions. I found […]