var width = 900, height = 650; var svg = null; var signal = null; window.onload = function() { svg = d3.select("#view").append("svg") //