'Incompatible data table: Error: Table contains more columns than expected (Expecting 2 columns) error on two columns dataset

I want to create a basic visualization, I have a two columns dataset and I got Incompatible data table: Error: Table contains more columns than expected (Expecting 2 columns)

0: Array [ "Country", "Impact of event" ]
1: Array [ "United Kingdom", 100000 ]
2: Array [ "Slovakia", 100000 ]
3: Array [ "Slovenia", 100000 ]
4: Array [ "Sweden", 100000 ]
5: Array [ "Romania", 100000 ]
6: Array [ "Portugal", 100000 ]
7: Array [ "Norway", 100000 ]
8: Array [ "Netherlands", 100000 ]
9: Array [ "Malta", 100000 ]
10: Array [ "Latvia", 1 ]
11: Array [ "Luxembourg", 100000 ]
12: Array [ "Italy", 100000 ]
13: Array [ "Ireland", 100000 ]
14: Array [ "Hungary", 100000 ]
15: Array [ "France", 100000 ]
16: Array [ "Finland", 100000 ]
17: Array [ "EU/EEA", 100000 ]
18: Array [ "Spain", 100000 ]
19: Array [ "Greece", 100000 ]
20: Array [ "Estonia", 1 ]
21: Array [ "Denmark", 100000 ]
22: Array [ "Czechia", 100000 ]
23: Array [ "Belgium", 100000 ]
24: Array [ "Austria", 100000 ]
length: 25

Any idea how can I solve this, or why is this happening?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source