A
Anonymous
Create Dynamic Funnel Charts with React and Echarts
Write the complete code for a funnel chart visualization in react using Echarts library. The code should contain 1. buildQuery.js (This file is responsible for constructing the query that fetches the data required) where the form data consist of metric, groupby, row_limit, filters. 2. controlPanel.js: This file defines the control panel configuration for the funnel chart, specifying the controls available to the user. 3. transformProps.js: This file transforms the raw data fetched by the query into the format required by the chart component. 4. EchartsBar.js: This file contains the actual implementation of the funnel chart component using Echarts.
Prompt
