var width = 1000, height = 700; window.onload = function() { var svg = d3.select("#view").append("svg") //