chartzz = {
const width = 500;
const height = 200;
const data = [
{ side: "left", count: 20 },
{ side: "right", count: 30 }
];
const svg = d3.select(DOM.svg(width, height));
const circleScale = d3.scaleLinear()
.domain([0, d3.max(data, d => d.count)])
.range([2, 18]);
svg.append("image")
.attr("href", highUrl)
.attr("x", -120)
.attr("y", -0)
.attr("width", width - 20)
.attr("height", height - 20);
svg.selectAll("circle.data-circle")
.data(data)
.enter().append("circle")
.attr("cx", (d, i) => (i + 1) * (width / 6) +7)
.attr("cy", height / 1.55)
.attr("r", d => circleScale(d.count))
.attr("fill", "#ffccd6");
svg.selectAll("text")
.data(data)
.enter().append("text")
.attr("x", (d, i) => (i + 1) * (width / 6) + 7)
.attr("y", height / 1.55 + 4)
.text(d => d.side === "left" ? "L" : "R")
.attr("text-anchor", "middle")
.attr("font-size", "12px")
.attr("fill", "#ce0000")
.attr("font-weight", "bold")
.attr("font-family", "Arial");
return svg.node();
}