@ -111,10 +111,9 @@ const renderPoints = () => {
}
const setupGraph = ()=>{
d3.select('svg');
d3.select('#container')
d3.select('svg')
.attr('width', WIDTH)
.style('width', WIDTH)
.attr('height', HEIGHT);
.style('height', HEIGHT);
xScale = d3.scaleTime();
xScale.range([0,WIDTH]);