Learning notes of d3.js