The coding using D3 Javascript