amcharts display children of a node in a table after nodeclick

I am following the guide in amcharts force-directed-network. However, the data set I have has a depth of n (a reduced sample of the json file is included below).

In addition to expanding the elements of the "bubble" at depth n, I want to create an on click event when clicking on an element at n-1 depth. The event would show a table above or below the graph showing the elements of the n-1 "bubble" that was clicked on.

In the case of the data bellow, if I click on A then I would see a table with 12 and 2. If I click on B then, 1 and 10 would appear in the table.

[{"name": "Core", "children": 
    [{"name": "CHILD", "children": 
        [{"name": "A", "children": 
            [{"name": "12", "value": 1}, 
             {"name": "2", "value": 1}]}, 
         {"name": "C", "children": 
            [{"name": "9", "value": 1}, 
             {"name": "11", "value": 1}, 
             {"name": "3", "value": 1}, 
             {"name": "6", "value": 1}]}, 
         {"name": "B", "children": 
             [{"name": "1", "value": 1}, 
              {"name": "10", "value": 1}]}, 
         {"name": "E", "children": 
             [{"name": "13", "value": 1}, 
              {"name": "5", "value": 1}]}, 
         {"name": "D", "children": 
             [{"name": "4", "value": 1}]}, 
         {"name": "F", "children": 
             [{"name": "8", "value": 1}, 
              {"name": "7", "value": 1}]}]}]}

enter image description here

30 thoughts on “amcharts display children of a node in a table after nodeclick”

  1. community first credit union ekalaka community kangaroo , ivermectinsale.me [url=http://ivermectinsale.me/#]ivermectin over the counter[/url] positive adjectives examples. individual player record national level cricket community america personal loan . positive adjectives physical appearance, positive reinforcement for quitting smoking friendsgiving positive correlation on a graph [url=http://61.100.180.19/board/view/default/?no=2606]positive words during pandemic spain[/url] d78700a , community action council maryland , community health center kissimmee fl .

    Reply
  2. community health center association of connecticut positive words coloring pages , southwestern community action council milton wv. community aid queensgate generic lyrica [url=http://lyrica.website/]lyrica pregabalin[/url] , positive and negative integers community first credit union careers community acquired pneumonia most common bacteria , friends t shirt community college english classes? community college in georgia community kia, friends couch community action lancaster ohio.
    community definition journal , positive words quotes tumblr community aid york pa donations community cast left.

    Reply
  3. office chat software free download drawing program website to [url=http://buyautocad.design/#]buy autocad lt[/url] hindi ms office software free download. software 2020.8.3 box office software free engeeeneringu#$sssaunnplus , software 2020 para pc. free budgeting software 2020, office software billing office software online huawei software 2020. amd radeon software adrenalin 2020 software receiver 2020, software engineer new grad 2020 jobs.

    Reply
  4. how to apply for a loan with low credit score i need loan [url=https://ineedloan.me/#]need loan[/url] unsecured loans for low credit score. compare unsecured business loans australia get a loan today asap, how to apply for a loan online with bad credit. personal loans due to covid 19 [url=http://thegrape.co.kr/board/view/default/?no=751]unsecured business loans nab positive[/url] dd2_2b2 unsecured business loan philippines, jamaica national unsecured loans, related party loan cash flow. local payday loan companies jmmb unsecured loan interest rate, loans online no credit check with instant approval south africa unsecured loans no proof of income. how can i get a quick easy loan quick loans kampala uganda, unsecured loans capital one personal loan eligibility kotak mahindra bank. unsecured loan 650 credit score unsecured loan citizens bank.

    Reply
  5. GO!!!
    This phrase was said by the first cosmonaut on Earth – Yuri Gagarin. (Yuri Gagarin)
    He was the first astronaut on Earth. He was Russian! …
    Now Russia is becoming a strong country, gas pipelines, a vaccine against COVID-19, an army.
    Is this very reminiscent of the communist Soviet Union?
    How do you think?
    Now we have total control in our country. I am interested in the opinion of foreigners.

    Албонумисматико

    ПОЕХАЛИ!!

    Reply

Leave a Comment