Changing Bar to Line
One of the great things about protovis is that with just a little editing, you can make many different chart types. Lets change Bar to Line.
Lines differ in that they don't have a bottom and a height. They are described only by their distance from the bottom. Fortunately, we can copy the function from height and apply it to bottom. Delete the width and height and we have a line chart