Skip to content

OrgChart JS Community Edition Examples ​

Discover what you can build with OrgChart JS Community Edition. Every example on this page is fully compatible with the free Community Edition and includes source code, making it easy to learn, customize, and build interactive organizational charts for free.

Color Coded Departments With Elevated Hover Effect ​

This example demonstrates how to dynamically define a template with initials and Links based on node data by assigning department-specific colors, using tags.

Bottom Orientation Color Coded ​

This example demonstrates how to dynamically define a template with level colors and add Node elevated hover effect

Left Orientation Color Coded ​

This example demonstrates how to dynamically define a template with level colors and add Node elevated hover effect

School Chart ​

This example demonstrates how to dynamically define a template with level colors and add Node elevated hover effect

Fit on Plus/Munis click with Top Orienttaion ​

This example demonstrates how to customize +/- and fit on +/- click

Fit on Plus/Munis click with Top Orienttaion and Left Border ​

This example demonstrates how to add a left border.

AI Tech ​

This example demonstrates how to customize +/- and fit on +/- click

Could Services ​

Colorfull Could Services Chart

Highlight Nodes by Titles ​

Custom highlight/filter implementation.

Color Graded Teams with zoon in and zoom out buttons ​

Custom highlight/filter implementation.

Technology Landscape ​

Uses multiple templates, tags, and a custom node layout.

Performance Overview ​

This example uses dynamic node definition to set the colors based on the node data values.

Sales ​

This example uses dynamic node definition to visualize data values.

Sparkline ​

This example uses dynamic node definition to visualize sales with a sparkline.

Select and Compare ​

This example uses additional HTML elements outside the chart to display and compare information from selected nodes.

Pictogram Infographic ​

EU Car Sales by Powertrain (2022–2025)

Tooltip ​

Hover to show the tooltip

Here we use redraw and render event listeners to show the tolltip.

Orientations ​

Here we use setOrientation to change the orientations on buttons click.

Orientations with Arrows ​

Here we show how we have arrows in all orientations.

World Cup 2022 ​

This example demonstrates how to dynamically define a template and add chart levels.

Dynamic Width ​

This example demonstrates how to implement dynamic width using node-initialized event listener and how to implement custom Expand/Collapse buttons

Icons and Images ​

This demo shows how you can use SVG and PNG images in the node template.

Google Material Icons ​

This demo shows how you can use google icons in the node template.

Minimal ​

A simple chart

Highlight levels ​

Highlight levels in different colors.

Highlight Direction Select ​

Use the radio buttons to change the chart configuration and select the highlight direction.

Highlight on Hover and Select on Click ​

This example demonstrates how to select the highlighted nodes up to the root on node click.

Highlight on Hover, Select on Click and Clear Selection ​

This example demonstrates how to highlight, select and clear selection.

Select and Highlight Multiple Nodes to the root ​

This example demonstrates how to use the onNodeClick event to select multiple nodes while highlighting the path from each selected node to the root.

Colorful OrgChart ​

This example demonstrates how to dynamically define a template based on node data by assigning department-specific colors, while using tags and a hidden template to customize the chart layout.

This example demonstrates how to dynamically define a template and Links based on node data by assigning department-specific colors, using tags.

This example shows you how you can sustomize the links and add a hover effect with CSS only.

This example shows you how you can sustomize the links

Best OrgChart ​

This example uses the Emily Template together with the highlightOnHover functionality to highlight a node and its parent hierarchy when you hover over it, making reporting relationships easier to understand.

Data in a List ​

This example shows how to use a <foreignObject> in a custom template using the template function definition. buttons

Color Graded ​

This example demonstrates how to dynamically define a template based on node data by assigning level-specific colors, while using tags and a hidden template to customize the chart layout.

Advanced Expand / Collapse ​

This example shows how to create custom Expand / Collapse in a template. It adds buttons for collapsing and expanding children, parents, and sibling nodes on the left or right side of the chart.

Customizing links and labels

Simple Template ​

Simple template demo.

Department Template ​

This Department template demo shows how to use tags to apply three different simple templates within a single chart.

Advanced Usage ​

This demo uses a slider to switch between different template variants while keeping the same chart data.

Orientation ​

How to change orientation

Concept Map ​

Here orientation is used and dynamic node definition