plot = {
let svg = d3.create('svg')
.attr('width', plot_width+margins.left+margins.right)
.attr('height', plot_height+margins.bottom+margins.top)
let g = svg.append('g')
.attr('transform', `translate(${margins.left},${margins.top})`)
return svg.node()
}