score:1

Accepted answer

if you add both y and height and you can then calculate the bar to start from the bottom:

.attr("height", 350)  
.attr("y", function(d) { return 350-d; })

Related Query

More Query from same tag