JSFiddle - React, Tailwind, and code Playground
JavaScript
var arr = [
{
"ID": "1",
"Country": "India",
"Value1": "100",
"Value2": "200"
},
{
"ID": "2",
"Country": "China",
"Value1": "230",
"Value2": "800"
}
];
var res = arr.map(function(item) {
return [item.Country,item.Value1];
})
console.log(res);