10 Best Vanilla JavaScript Tree Libraries

List hand-picked by Openbase Experts
Learn More

d3-hierarchy

d3-hierarchy

2D layout algorithms for visualizing hierarchical data.

ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
808
Weekly Downloads
2.5M
Last Commit
9mos ago
User Rating
5.0/ 5
1
Top Feedback
tre

treantjs

Treant.js - javascript library for drawing tree diagrams

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
783
Weekly Downloads
841
Last Commit
1yr ago
User Rating
4.5/ 5
2
Top Feedback
org

orgchart

It's a simple and direct organization chart plugin. Anytime you want a tree-like chart, you can turn to OrgChart.

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
2.5K
Weekly Downloads
3.8K
Last Commit
2yrs ago
User Rating
4.0/ 5
1
Top Feedback
1Performant
rbu

rbush

RBush — a high-performance JavaScript R-tree-based 2D spatial index for points and rectangles

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
2K
Weekly Downloads
796K
Last Commit
8mos ago
kd-tree-javascript

kd-tree-javascript

JavaScript k-d Tree Implementation

UNLICENSED
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
576
Weekly Downloads
5.1K
Last Commit
4yrs ago
inspire-tree

inspire-tree

Inspired Javascript Tree

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
421
Weekly Downloads
3.2K
Last Commit
1yr ago
bao

baobab

JavaScript & TypeScript persistent and optionally immutable data tree with cursors.

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
3.1K
Weekly Downloads
2.7K
Last Commit
2yrs ago
bos

bosket

Collection of tree view components for front-end frameworks. 🌳

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
453
Weekly Downloads
523
Last Commit
4yrs ago
bj

buckets-js

Buckets is a complete, fully tested and documented data structure library written in pure JavaScript.

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
Weekly Downloads
133
Last Commit
dd

d3-dtree

A library for visualizing data trees with multiple parents, such as family trees. Built on top of D3.

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
388
Weekly Downloads
102
Last Commit
3yrs ago
jso

jsontreejs

A lightweight vanilla Javascript micro-library for making collapsible trees with JSON

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
173
Weekly Downloads
3
Last Commit
5yrs ago
tre

treed

The main component of an editor for hierarchical content.

Apache v2
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
Weekly Downloads
2
Last Commit