I have a nested json object which represents a one to many relationship between a parent node and its children. I want to represent this json as an organizational chart in HTML. I found that I can use Google Charts to do it but I am not sure if Google Charts give you the ability to design the boxes or do any modifications on the design.
Does anyone know any resources that I can study?
This is the json object I have constructed:
{ 'id': 1,
'name': 'Parent Node',
'description': 'First Parent Node',
'children': [
{
'id': 2,
'name': 'child1',
'description': 'child1',
'children': [
{
'id': 4,
'name': 'grand1',
'description': 'grand1',
'children': []
}]
},
{
'id': 3,
'name': 'child2',
'description': 'child2',
'children': []
}]
}
This question Representing Binary Tree Structure in Web browser is also similar, but the link does not seem to work.