html`<svg viewBox="0 0 ${width} ${height}" style="max-width: ${width}px; font: 24px sans-serif;">
<g>
${MonthlyKPIs.map(p => svg`<rect fill="${color(p['transaction.total_revenue'])}" y="${y(p['practice.name1'])}" x="${x(0)}" width="${x(p['transaction.total_revenue']) - x(0)}" height="${y.bandwidth()}"></rect>`)}
</g>
<g fill="white" text-anchor="end" transform="translate(-6,${y.bandwidth() / 2})">
${MonthlyKPIs.map(p => svg`<text fill="${d3.lab(color(p['transaction.total_revenue'])).l < 60 ? "white" : "black"}" y="${y(p['practice.name1'])}" x="${x(p['transaction.total_revenue'])}" dy="0.35em">${p['practice.name1']}</text>`)}
</g>
${d3.select(svg`<g transform="translate(0,${margin.top})">`)
.call(d3.axisTop(x))
.call(g => g.select(".domain").remove())
.node()}
${d3.select(svg`<g transform="translate(${margin.left},0)">`)
.call(d3.axisLeft(y))
.call(g => g.select(".domain").remove())
.node()}
</svg>`