protovis part 4: external data and animated labels

Document setup

We're going to work with some demographics data for California counties so perform a find for the word example and replace it with the word race in all instances.

Add two new variables, one for the width and one for the height. Make the values of both 150.

Add a variable for leftMargin and set the value to 100

Replace the width and height values in the panel with the corresponding variables. Then change the width variable to 300.

Next, find the left property. At the very end is the number 26 that sets the left position of the chart. Change that to read leftMargin.