chart = {
console.log('x(0)', x(5), y(0), y(21000));
const svg = d3
.create("svg")
.attr("viewBox", [0, 0, width, height])
.style("font", "10px sans-serif")
.style("user-select", "none")
.style("background-color", "#023770")
.style("color", "#ffffff");
svg.call(defs);
svg.call(axis);
svg.call(header);
svg.call(contracts);
svg.call(accounts);
svg.call(stackBars);
svg.call(links);
svg.call(invoke);
svg.call(valueTransfers);
svg.call(tokenTransfers);
return Object.assign(svg.node(), {});
}