Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
private renderChart(chartNode: HTMLDivElement, props: TreeMapProps) {
this.createAxes(props);
this.plot = new Plots.Rectangle();
this.processData(props);
this.plot.renderTo(chartNode);
this.plot.onAnchor(() => this.onAnchor(this.plot));
// this.plot.foreground().append('g').append('text').text('Awesome');
}