totals_donut = {
const container = d3.create("div").attr("class", "totals");
const cells = container
.selectAll("div")
.data(peoples_projects)
.enter()
.filter((d) => d.name == `Totals`)
.append("div")
.attr("class", "cell shadow")
.append("svg")
.attr("viewBox", [-width / 2, -height / 2, width, height]);
cells
.selectAll("path")
.data((d) => pie(d.projects))
.join("path")
.attr("class", (d) => cleanClassName(d.data.project), "toolTip")
.attr("fill", (d) => color(d.data.project))
.attr("d", arc2(size))
.on("mousemove", (event, d) => { arcMouseOver(d.data.project, Math.round(d.data.value / total * 100, 0), event.pageX, event.pageY); })
.on("mouseover", hover)
.on("mouseout", mouseOut)
cells
.append("text")
.attr("class", "totalsLabel")
.attr("x", 0)
.attr("y", 0)
.attr("dy", "0.25em")
.text((d) => d.name)
.attr("text-anchor", "middle");
container.selectAll(".label").call(wrap, 11);
return container.node();
}