vis.add(pv.Rule) .data(pv.range(0, 2, .5)) .bottom(function(d) d * 80) .add(pv.Label); vis.add(pv.Bar) .data([1, 1.2, 1.7, 1.5, .7]) .left(function() (this.index+1) * 25) .bottom(0) .height(function(d) d * 80) .width(20) .anchor("bottom").add(pv.Label);