This post describes how to add a simple animation when your lollipop chart loads. It's just a couple additional lines of code that add a bit of style to your work. Plus it is a good way to understand how animation work in d3.
x = 0
. Then, change their positions to their true value using the transition()
function.