Organization Chart Visualization
Create an interactive organization chart using a professional diagramming library

An organization chart (often called organigram, or organogram) shows the internal structure of an organization. It describes the relations and hierarchy inside the organization. The members (employees, positions) are usually represented as boxes, often containing further information such as name, contact information, sometimes photos. Structure-wise, such a diagram is a tree, which itself is a special kind of graph.

Orgchart HTML Overview
Do you have questions about organization chart visualization?

Get in touch to discuss your specific challenges with our diagramming experts. We're here to provide the guidance you need.

Building an organization chart visualizer or editor from scratch can be a challenging task. However, developers can save a lot of money, time, and workforce by using a software library that provides ready-to-use components for this task. yFiles is a commercial programming library that facilitates the creation of organization chart editors. yFiles is available for many different platforms.

Visualizing the members

In an organization chart, it is common to visualize a member (e.g. an employee) as a box or card, which shows further information about the member. Besides the name, this often is the member’s position, contact information like phone number, and email address. Often, a photo and information about the member’s current status complete the information.

Orgchart Styles

yFiles supports arbitrary visualizations for elements. Particularly, the use of platform-specific technologies like SVG or XAML allows for the creation of complex styles with familiar tools.

Managing large Organization Charts

Large-scale organization diagrams, such as the structure of a large corporation, quickly become crowded and confusing. Several techniques may be applied to improve their readability.

Level of detail

Depending on how far the diagram is zoomed out, omit some node information from the display. For example, addresses and telephone numbers needlessly clutter the diagram if one was to try getting an overview. You may want to reveal this information at an appropriate zoom level only. One might even go so far as to display simple icons for persons if sufficiently zoomed out.

The above example was created using yFiles. A highly flexible visualization is one of the key features of this commercially available software library.

Collapsing of Substructures

As with all large diagrams, you would want to filter down on the relevant data. So it is sometimes convenient to hide multiple entities altogether. To show a rough outline of a company structure, for example, you would typically hide away all nodes beneath the executive level. Whereas if you wanted to focus on a particular branch, displaying the board of directors is a moot point. Thus ideally, a way to hide an entity’s child and parent nodes is needed.

Orgchart Uncollapsed Branch
Uncollapsed branch
Orgchart Collapsed Branch
Collapsed branch

The above example was created using yFiles. It takes advantage of yFiles’ filtering capabilities combined with the use of interactive elements (for example, buttons) as part of the visualizations.

About yFiles: The graph visualization SDK

yFiles playground graph drawing example

yFiles is your go-to SDK for crafting advanced graph visualizations, whether you're working with Web, Java, or .NET technologies. Its unmatched flexibility and scalability enable you to convert complex data into clear, actionable visuals, fitting for both enterprise and startup needs.

With yFiles, you're equipped for the future—supporting any data source while maintaining strong data security. Getting started is seamless, thanks to over 300 source-code demos, thorough documentation, and direct access to core developer support. These resources are available even during your free trial.

Backed by 25 years of graph drawing expertise, yFiles is trusted by top companies worldwide for their most critical visualization tasks.

Discover yFiles

11 reasons why developers choose yFiles, the superior diagramming SDK

Examples and source code

The commercial programming library yFiles provides components for the visualization and the creation of diagram viewers and editors. It comes with a Organization Chart Sample Application that shows how to create an interactive organization chart. The employees are visualized with different levels of detail based on the current zoom level.

The source code of the Organization Chart Sample Application is part of all yFiles packages and available on the yWorks GitHub repository:

Implement your own Organization Chart

Test the yFiles diagramming library with a fully functional trial package. To display an organization chart in your own application, start with the Organization Chart Sample Application that is part of the yFiles package. It’s not only a showcase application but also provides best-practice source code that you can re-use in your own project.

yFiles makes it easy to customize all aspects of this application, for example, include your own styling, change the user interaction, or load the data from your data source. Features like the node visualizations and the specialized automatic layout are separate components that work in any yFiles-based project.

  1. Download the trial version of yFiles for your target platform at the yWorks Customer Center.
  2. Navigate to the source directory of the Organization Chart Sample Application.
  3. Explore the sample application’s features and
    • adjust its source code to match your requirements or
    • copy the source code of the features you like to your project.

Ready to build your organization chart app?

Download yFiles now!

Choose your next steps

Get connected

Connect with our Customer Success Team regarding your ideas or projects.

Connect with the real graph drawing experts.

Dive deep

Get more detailed information about specific yFiles topics.

Download yFiles

Try yFiles free of charge.

Download the yFiles trial version.