My code from D3.js Tutorial by d3Vienno as per Youtube