Learning D3.js by example