strangePlot = {
const width2 = 600;
const height2 = 250;
const cxScale = d3.scalePoint()
.domain(alphasortedData.map(d=>d.letter))
.range([margin.left, width2 - margin.right]);
const rScale = d3.scaleSqrt()
.domain([0,d3.max(alphasortedData, d => d.frequency)])
.range([0, cxScale.step()/2]);
const xAxis = g => g
.attr("transform", `translate(0,${height2/2 + cxScale.step()/2 })`)
.call(d3.axisBottom(cxScale)
.ticks(width2 / 80)
.tickSizeOuter(0)
)
const svg = d3.create("svg")
.attr("width", width2)
.attr("height", height2)
.attr("viewBox",[0, 0, width2, height2]);
svg.append("g")
.call(xAxis);
svg.selectAll('circle')
.data(alphasortedData)
.join('circle')
.attr('cx', d => cxScale(d.letter))
.attr('cy', height2/2)
.attr('r', d => rScale(d.frequency))
.style('fill', 'purple');
return svg.node();
}