chart = {
const svg = d3.select(DOM.svg(width, height));
svg.append("g")
.attr("fill", columnColor)
.selectAll("rect").data(data).enter().append("rect")
.attr("x", d => x(d.name))
.attr("y", d => y(d.value))
.attr("height", d => y(0) - y(d.value))
.attr("width", x.bandwidth());
svg.append("g")
.call(xAxis)
.selectAll("text")
.attr("text-anchor","start")
.attr("transform", "rotate(45)");
svg.append("g")
.call(yAxis)
return svg.node();
}