protovis javascript charts: part 1

Dot Charts

Now change Line to Dot.

Dots use the same structure as lines but notice that the one on the left is cut off. That's because the circle is drawn around the data point. We can fix this with the simplest of Math. Find the 25 in the left property and type + 10 to shift the entire chart to the right 10 pixels.