{
const node = DOM.svg(
width + margin.left +margin.right,
height + margin.bottom + margin.top
);
const svg = d3.select(node);
const axis = svg
.append('g')
.attr('transform', `translate(${margin.left}, ${margin.top})`);
const line = d3
.line ()
.x(d => x(d.x))
.y(d => y(d.y));
axis
.append('g')
.attr('transform', `translate(0, ${height})`)
.call(d3.axisBottom(x));
axis.append('g').call(d3.axisLeft(y));
axis
.append('path')
.attr('d',line(mydata))
.attr('stroke','blue')
.attr('fill','none');
return node;
}