Archive for category: protovis

d3: scales, and color.

11 August, 2011 (12:03) | d3, protovis, tips | By: jerome

In protovis, scales were super-useful in just about everything. That much hasn’t changed in d3, even though d3.scale is a bit different from pv.Scale. (do note that d3.scale is in lowercase for starters). Scales: the main idea Simply put: scales transform a number in a certain interval (called the domain) into a number in another [...]

d3: adding stuff. And, oh, understanding selections

9 August, 2011 (14:49) | d3, protovis, tips | By: jerome

From data to graphics d3 and protovis are built around the same principle. Take data, put it into an array, and for each element of data a graphical object can be created, whose properties are derived from the data that was provided. Only d3 and protovis have a slightly different way of adding those graphical [...]

From protovis to d3

8 August, 2011 (16:47) | d3, protovis | By: jerome

You’ve spent some time learning protovis only to find that its development is halted as authors have switched to work on d3. Have your efforts all been in vain? Fear not! This series of posts will help you adapt to d3 with a protovis background. Before we go anywhere further, let me say that these [...]

VAST challenge 2011

1 July, 2011 (00:09) | data visualization, protovis, Uncategorized | By: jerome

This year I have participated to the VAST Challenge (VAST stands for visual analytics science and technology). The VAST symposium is part of the yearly VisWeek conferences. Anyway. The rules required contestants to send videos with voiceovers, so without further ado here they are. Watch me in HD instead!! Watch me in HD too!! If [...]

Cantonales suite et fin: duels et transferts de voix

8 April, 2011 (15:09) | data visualization, français, protovis, Uncategorized | By: jerome

[A note to my English readers - as you'd have probably guessed by the title in French, this post about French politics is in French again, but I'll soon resume posting in English] Dimanche 27 a eu lieu le deuxième tour des élections cantonales, dont j’ai déjà un peu parlé ici ou ici. Et qui [...]

Votre prénom est-il de droite?

1 April, 2011 (22:47) | data visualization, protovis | By: jerome

[another post in French. sorry for my English readers, but since it's again based on election data it really is only relevant to French people] Donner un prénom à ses enfants, c'est peut-être la décision qui va le plus influencer le regard des autres à son égard... surtout quand ils ne l'ont pas encore vu. [...]

datavizchallenge.org: my entry

27 March, 2011 (16:03) | data visualization, protovis | By: jerome

I just posted my www.datavizchallenge.org entry! So here’s a little explanation about what I’ve done, how and why. The idea behind the data provider web site, WhatWePayFor, is that billions and millions don’t talk to the average citizen. This doesn’t help them understand where their money goes. And in my work, I generally try to [...]

Building the France Dorling cartogram

27 March, 2011 (14:28) | data visualization, protovis | By: jerome

This is a follow-up to the previous post where I used a Dorling cartogram to show election results in France. So how did I come up with that? Step 1: the data Without data, there wouldn’t be much to plot, right? So the first order of business was to fetch the data, which is theoretically [...]

La carte des cantonales

26 March, 2011 (21:05) | data visualization, protovis | By: jerome

[I write this here post in French because it's more relevant for a French audience, a more technical post with an explanation of how it's done follows in English]. J'ai écrit que j'avais été déçu par les infographies des principaux médias au lendemain des cantonales. Si on prend la carte du Monde par exemple, on [...]

More fun with arrays in protovis

15 March, 2011 (18:21) | protovis | By: jerome

In my short tutorial on working with data and protovis I briefly covered some standard javascript and protovis methods to work with arrays. The more I work with Protovis, the more I am convinced that efficient array manipulation is key to achieving just about anything with the library. So, I would like to go into [...]