Trying to learn data visualization with d3 library