Description
3d-force-graph is a web component that draws a graph in three dimensions using a force-directed layout. It renders with ThreeJS and WebGL, and it can use either d3-force-3d or ngraph as its physics engine, so nodes and links move into a stable arrangement by repulsion and attraction. The project provides examples that show the range of the component, including basic graphs, asynchronous loading, graphs of around 4,000 elements, directional arrows and moving particles, curved and self links, text, images and HTML as nodes, custom node shapes, gradient links, orbit and fly camera controls, click-to-focus, expanding and collapsing nodes, highlighting, multiple selection, collision detection, and a force-directed tree in directed acyclic graph mode. Other examples cover a dependency graph built from a yarn lock file, bloom post-processing and adding external objects to the scene.…
Highlights
- 3D force-directed graphs with ThreeJS and WebGL
- d3-force-3d or ngraph physics engines
- Many examples, including DAG mode
- Camera controls and node interaction
- Open source with React bindings
Ratings & Reviews
No ratings yet
Be the first to rate 3d Force Graph.
People also visit

v-network-graph
An interactive SVG based network-graph visualization component for Vue 3
3d Force Graph FAQ
What is 3d-force-graph?
It is a web component that draws force-directed graphs in 3D using ThreeJS and WebGL.
How do I install it?
Install it from npm, or use a script tag, and the README shows the quick start code.
Are there React bindings?
Yes. The README links to React bindings for the component.
Is it free?
The project is open source and maintained on GitHub, and it accepts donations through a coffee link.
What are the best 3d Force Graph alternatives?
Popular alternatives to 3d Force Graph include Three Forcegraph, Three Globe and Rthreejs. See all 3d Force Graph alternatives







