protovis part 2: lines and labels

Getting Started

Welcome to part 2 of our Protovis tutorials. In this tutorial we're going to add lines and labels to the bar chart we built in part 1. Since the chart takes up most of the 150 pixel image area, lets start by shrinking and moving the chart.

Change bottom to 15 to move the chart up. Change the height property multiple from 75 to 60 and in the left property, type + 26 at the end of the parenthesis to add empty space on the left.