I am interested in visualizing data obtained from the census data API, specifically from the ACS survey.
The data is not in a typical JSON format, but rather as a two-dimensional array. It appears like this:
[
[
“POPULATION”,
“DATE”,
“ANOTHERTHING”
],
[
“ALABAMA”,
“2000”,
“MORESTUFF”
],
[
“ALASKA”,
“2000”,
“OTHERSTUFF”
],
…
]
I have limited experience working with JSON data like this, which resembles more of a CSV structure with keys on the first line and values following in subsequent lines.
Does anyone know how to parse and manipulate this kind of data in D3, without needing to convert it beforehand (such as using a tool like https://gist.github.com/sarfarazansari/7e8ae05168b80b36016eb1c561a82f73)? I prefer to directly utilize the data from the API.
Any assistance or advice on this matter would be highly appreciated.