data = [
{
"group": "banana",
"Nitrogen": "12",
"normal": "15",
"stress": "1"
},
{
"group": "poacee",
"Nitrogen": "6",
"normal": "6",
"stress": "20"
},
{
"group": "sorgho",
"Nitrogen": "11",
"normal": "28",
"stress": "12"
},
{
"group": "triticum",
"Nitrogen": "19",
"normal": "20",
"stress": "12"
}
];
I have this array to use in a grouped bar chart. I want to get the maximum value out of all the values, which is 28 in this.