I have a JSON data as shown below. I need to generate a table from this JSON using javascript. The hardest part for me is to show the each element as a column. Please help me to resolve it.
JSON:
[
{
"Header": "Column1",
"Values": [
"75",
"79",
"83"
]
},
{
"Header": "Column2",
"Values": [
"77",
"81",
"86",
"90"
]
},
{
"Header": "Column3",
"Values": [
"98",
"117"
]
}
]
I want to show this data in below table format
|Column1|Column2|Column3|
-------------------------
| 75 | 77 | 98 |
| 79 | 81 | 117 |
| 83 | 86 | |
| | 90 | |
What will be the best way to achieve it?