Inspired by this Apache eCharts Example:
https://echarts.apache.org/examples/en/editor.html?c=map-usa-pie
As a specific JSON file is required generate this type of chart I decided to create a configurable component.
As the country naming is inconsistent in the JSON data a check is included where only those rows with country descriptions matching the JSON are included an visualised.
To enable fixing up the input data any non-matching rows are routed to top output port and the list of valid names in the JSON to the bottom port.
- Type: TableInput dataThe input table needs to contain at least three columns: One column containing country names One column containing the categories to be shown in the pie charts One column with the value for each combination of country and category.