Using D3 to create various graphics