Archive for tag: nesting

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