Note that there are some explanatory texts on larger screens.

plurals
  1. POIs there a fixed format for json for using it in collapsible tree layout?
    primarykey
    data
    text
    <p>I am using <a href="http://d3js.org" rel="nofollow">d3.js</a> for visualizing the data in collapsible tree layout.Its working fine with flare.json data but it seems to have problems with other json files to work.My json file is valid.</p> <p>The error I am getting is as follows Uncaught TypeError: Cannot read property 'children' of undefined And my json is <a href="http://jsfiddle.net/Sanjna/LL27P/6/" rel="nofollow">here</a></p> <pre><code>{ "name":"dummy", "children": [ { "date": "20040309", "name": "US", "id": "27", "kind": "S1", "application_type": "not found", "children": [ {"length": 27, "type": "US", "id": "28", "kind": "S", "name": "Mewdows", "date": "19730700", "main_classification": "D 2907" }, {"length": 27, "type": "US", "id": "29", "kind": "S", "name": "Askew", "date": "19731100", "main_classification": "D 2907" }, {"length": 27, "type": "US", "id": "30", "kind": "S", "name": "Adams", "date": "20020500", "main_classification": "D 2969" }, {"length": 27, "type": "US", "id": "31", "kind": "S", "name": "Adams et al.", "date": "20020500", "main_classification": "D 2969" }, {"length": 27, "type": "US", "id": "32", "kind": "S", "name": "Adams", "date": "20020800", "main_classification": "D 2969" }, {"length": 27, "type": "US", "id": "33", "kind": "S", "name": "Adams", "date": "20030700", "main_classification": "D 2969" }, {"length": 27, "type": "US", "id": "34", "kind": "S", "name": "Robbins", "date": "20031000", "main_classification": "D 2969" } ], "classification_national": "D 2969", "length": 7 }, { "date": "20040309", "name": "US", "id": "30997425", "kind": "S1", "application_type": "not found", "children": [ {"length": 7, "type": "US", "id": "35", "kind": "A", "name": "Alba et al.", "date": "19851000", "main_classification": "323308" }, {"length": 7, "type": "US", "id": "36", "kind": "A", "name": "Dobberstein", "date": "19851000", "main_classification": "323308" } ], "classification_national": "D13110", "length": 2 }, { "date": "20040309", "name": "US", "id": "56992283", "kind": "B2", "application_type": "not found", "children": [ { "length": 114, "type": "US", "id": "151", "kind": "A", "name": "Demetre", "date": "19770300", "main_classification": "271183" }, {"length": 114, "type": "US", "id": "152", "kind": "A", "name": "Carstedt", "date": "19771100", "main_classification": "271183" }, {"length": 114, "type": "US", "id": "153", "kind": "B1", "name": "Teumer et al.", "date": "20010100", "main_classification": "271194" }, {"length": 114, "type": "DE", "id": "154", "kind": "not found", "name": "not found", "date": "19751200", "main_classification": "not found" }, {"length": 114, "type": "DE", "id": "155", "kind": "not found", "name": "not found", "date": "19770100", "main_classification": "not found" }, {"length": 114, "type": "DE", "id": "156", "kind": "not found", "name": "not found", "date": "19800300", "main_classification": "not found" } ], "classification_national": "271276", "length": 6 } ] } </code></pre> <p>Any help will be appreciated.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload