skip to Main Content

Javascript – How to convert Array of hierarchy data into right JSON-Format for D3-Tree-Region

i having problems converting an array of hierarchy data into the right Object format. I trying to convert this: [ {"PARENT_ID": 0,"CHILD_ID": 1,"NAME": "Quality","LEVEL_A": 0}, {"PARENT_ID": 1,"CHILD_ID": 2,"NAME": "Machine","LEVEL_A": 1}, {"PARENT_ID": 1,"CHILD_ID": 3,"NAME": "Method","LEVEL_A": 1}, {"PARENT_ID": 1,"CHILD_ID": 4,"NAME": "Material","LEVEL_A": 1},…

VIEW QUESTION
Back To Top
Search