{
let height = 300;
let width = 400;
const svg = d3.select(DOM.svg(width, height));
const rScale = d3.scaleSqrt([0, 100], [0, 20]);
const yScale = d3.scaleLinear([0, 100], [0, height / 2]);
const xScale = d3.scaleBand(_.range(0, toPlot.values.length), [50, width - 50]);
const xAxis = svg => svg
.attr("transform", `translate(0,${height / 2})`)
.call(d3.axisBottom(xScale));
svg.append('g').call(xAxis);
const dots = svg.append("g");
const dot = dots
.selectAll("circle")
.data(toPlot.values)
.join("circle")
.attr("fill", "steelblue")
.style("mix-blend-mode", "multiply")
.attr("stroke", "none")
.attr("cx", (d, i) => xScale(i))
.attr("cy", height / 2)
.attr("r", d => rScale(d));
return svg.node();
}