Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(el, vis) {
this.vis = vis;
this.el = el;
this.container = document.createElement('div');
this.container.className = this.containerClassName;
this.el.appendChild(this.container);
this.processedData = {};
this.chart = new D3Funnel(this.container);
// this.filterManager = filterManager;
}
componentDidMount() {
const { data, options, } = this.state;
const chart = new D3Funnel(this.myRef.current);
chart.draw(data, options,);
}
render() {