Archive for category: protovis
15 March, 2011 (18:17) | data visualization, protovis | By: jerome
What is a map? before we start looking at the code it may be a good idea to think of the best way to represent a country. Countries are areas of land surrounded by borders, which are imaginary (or sometimes physical) lines going through a set of points. Some countries are made of one of [...]
Tags: arrays, data, map, projections, protovis | No comments
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 [...]
Tags: flowing data challenge, protovis, scatterplot, tv earners | 1 comment
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 [...]
Tags: exports, france, maps, trade, treemaps | 8 comments
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 [...]
Tags: arc diagrams, force-directed graphs, graphs, layouts, matrix diagrams, network, protovis, stacked areas, stacked bars, stacked columns, treemaps, trees, tutorial | 3 comments
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, [...]
Tags: aggregation, hierarchy, maps, nesting, protovis, rollup, trees | 5 comments
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 [...]
Tags: barley, becker, nesting, protovis, rollup, treillis | 1 comment
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. [...]
Tags: grammar of graphics, nesting, protovis, Tableau, tutorial | 1 comment
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 [...]
Tags: arrays, javascript, protovis, tutorial | 6 comments
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 [...]
Tags: hierarchy, inheritance, protovis, tutorial | 5 comments
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 [...]
Tags: arrays, data, protovis, tutorial | 11 comments