I seem to be encountering an issue with creating a graph and could really use some assistance. I am attempting to create the following chart: http://bl.ocks.org/wvengen/cab9b01816490edb7083
However, every time I try, an error occurs and causes the browser to crash. This error seems to be related to certain items in my json data, but I can't pinpoint the exact reason for it.
The json data from the documentation example is as follows:
This is my json data:
{
"nodes":[
{
"name":"Biblioteca",
"hotspot":169,
"id":"biblioteca_score"
},
{
"name":"Parque da Cidade",
"hotspot":171,
"id":"parque_da_cidade_score"
},
... (Additional node data)
],
"links":[
{
"value":1,
"source":2,
"target":0
},
... (Additional link data)
],
"colors":{
... (Color data)
}
}
When I include all the data in the json file, I encounter an error. However, if I only include the data below, it works fine:
{
"nodes":[
{
"name":"Biblioteca",
"hotspot":169,
"id":"biblioteca_score"
},
{
"name":"Parque da Cidade",
"hotspot":171,
"id":"parque_da_cidade_score"
},
... (Additional node data)
],
"links":[
{
"value":1,
"source":2,
"target":0
},
... (Additional link data)
],
"colors":{
... (Color data)
}
}
Does anyone have any insights on why this may be happening?