chart = {
const svg = d3.select(DOM.svg(width, height));
svg.append("g")
.attr("fill", "steelblue")
.selectAll("path").data(data).enter().append("path")
.attr("d", d => roundedRect(
x(d.name),
y(d.value),
x.bandwidth(),
y(0) - y(d.value),
[10, 0, 0, 0]
))
svg.append("g")
.call(xAxis);
svg.append("g")
.call(yAxis);
return svg.node();
}