OrgChart JS
BALKAN OrgChart JS is a powerful JavaScript library for building interactive organizational charts and hierarchy diagrams . Create responsive org charts for company structures, HR systems, dashboards, and internal tools with minimal code and full customization.
Overview
OrgChart JS is FREE Trial, available under EULA .
Installation
npm install @balkangraph/orgchart.js
or with yarn:
yarn add @balkangraph/orgchart.js
Import it in your code
import OrgChart from "@balkangraph/orgchart.js";
Usage
const chart = new OrgChart(document.getElementById("tree"), {
nodeBinding: {
field_0: "name",
}
});
chart.load([
{ id: 1, name: "CEO" },
{ id: 2, pid: 1, name: "Manager" },
{ id: 3, pid: 1, name: "Designer" }
]);
Other Framework-Specific OrgChart JS Libraries
Community
Commercial - FREE Trial License
关于 @balkangraph/orgchart.js 的常见问题@balkangraph/orgchart.js 是什么? JavaScript organizational chart library for visualizing hierarchy, company structure, and team relationships with interactive diagrams.
如何安装 @balkangraph/orgchart.js? 在项目目录运行 npm install @balkangraph/orgchart.js,或使用 pnpm add / yarn add / bun add。
@balkangraph/orgchart.js 支持 TypeScript 吗? 支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。
@balkangraph/orgchart.js 支持 ESM 还是 CommonJS? 同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。
@balkangraph/orgchart.js 可以商用吗? @balkangraph/orgchart.js 使用 FREE Trial 许可。声明的许可为 FREE Trial,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。
@balkangraph/orgchart.js 的下载量有多少? 根据 npm 官方下载统计,@balkangraph/orgchart.js 在 2026/10/08 – 2026/11/06 这 30 天内被下载 15,860 次,日均约 529 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。
@balkangraph/orgchart.js 还在维护吗? 最新版本 9.3.28 发布于 2026/07/14(3 个月前);至今共发布 1154 个版本,其中过去 12 个月发布了 127 个;首次发布于 2018/10/24。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。