Org Chart in Google Charts
Org Chart
An organizational chart is a chart that displays the structure of an organization and the relationships and relative ranks of its parts and positions/jobs. In other words, It is a visual chart that represents the structure of a company.
Steps for adding Google Org Charts to your Website:-
- To use Google Org Chart on your website, add a link to the charts loader.
- After this, add a div with a unique id. Then, we have to load Google Graph API.
- Load the Visualization API with the desired package name. In our case, it is "orgchart".
- Set a callback function.
- The visualization API is:- google.charts.load('current', {'packages':['orgchart']})
- The callback function will be:- google.charts.setOnLoadCallback(draw_my_chart)
Code Explanation
All Tutorials related to Charts Tutorials
Annotation Chart
Area Charts
Bar Chart
Bubble Chart
Calendar Chart
Candlestick Chart
Column Chart
Combo Chart
Donut Chart
Gauge Chart
Geo Chart
Histogram Chart
Line Chart
Org Chart
Pie Chart
Scatter Chart
Stepped Area Chart
Timelines Chart