Geochart: Incompatible data table: Error: Unknown address type.

14 views
Skip to first unread message

tritri

unread,
May 27, 2019, 7:59:19 AM5/27/19
to Google Visualization API

Screen Shot 2019-05-27 at 12.36.56.png

Geochart says the data isn't in the right format, I've attempted to manipulate the array like this.  I need index 0 and index 1

getData = () => {
const data = Object.values(this.props.countriesToRender);
return data.map(array => array[0]);
};
Reply all
Reply to author
Forward
0 new messages