This repository contains a highly customized version of the d3-org-chart integrated with Vue and Typescript. It provides a flexible and visually appealing way to display hierarchical data in a tree-chart format.
For additional functionality and use cases, you can explore the original repository by Bumbeishvili: D3-Org-Chart
npm i d3-org-chart
import { OrgChart } from 'd3-org-chart';
new OrgChart()
.container(<DomElementOrCssSelector>)
.data(<Data>) // Example: https://github.com/bumbeishvili/sample-data/blob/main/data-oracle.csv
.render();
For an optimal development experience, we recommend using the following setup:
Get started with the project by following these steps:
npm install
npm run dev
npm run build
Here's a glimpse of what the tree-chart looks like:
Contributions are welcome! If you have ideas for improvements or bug fixes, feel free to open an issue or submit a pull request. Please make sure to follow the project's guidelines when contributing.
This project is licensed under the MIT License.