Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Building Organizational chart using JavaScript

I have JSON data which come from server.

I want to display organization chart in the HTML file in the below format:

                       CEO
                        |
                        |
            #Manager             #Manager 

I am using Dojo. I find this link extremely useful. I want to build exactly the same thing.

I am not able to find required dojo files in there site. So it could be proprietary to IBM.

I tried this link, but I do not find it useful.

Can someone please tell me how should I do it Using dojo or any other frameworks?

like image 863
anish Avatar asked Dec 10 '25 14:12

anish


2 Answers

you can use Basic Primitives Diagrams

enter image description here

Which has various diagrams and optional format and is also open source, it's client side JavaScript layout and rendering and no dependencies on 3rd party libraries.

It is also possible to try it online here

like image 151
Hamed Lohi Avatar answered Dec 12 '25 03:12

Hamed Lohi


You might want to try google org charts . fairly easy to use it think.

like image 43
scartag Avatar answered Dec 12 '25 02:12

scartag



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!