Skip to content
Data & ChartsPro

Network Chart

Network chart for relations: a force graph, an arc diagram, a tree and a radial tree.

Usage

Team network

Who works with whom: 30 nodes, 40 links in 4 groups.
Who works with whom, data table
labelLinks
Product lead9
Design lead8
Sales lead8
Support lead9
Lena2
Tim2
Sofia2
Ben2
Clara3
Noah3
Emma4
Paul2
Nina2
Leo2
Alina2
Felix2
Jonas2
Mara2
Lena2
Tim2
Sofia1
Ben1
Clara1
Noah1
Emma1
Paul1
Nina1
Leo1
Alina1
Felix1

Installation

Network Chart comes with WunderUI Core and Pro, in the package from your plan. See the plans.

Then import what you need:

tsx
import {
  NetworkChart,
  NetworkChartProps,
  NetworkChartVariant,
} from "@wunderui/react"

Examples

Force Graph

Team network

Who works with whom: 30 nodes, 40 links in 4 groups.
Who works with whom, data table
labelLinks
Product lead9
Design lead8
Sales lead8
Support lead9
Lena2
Tim2
Sofia2
Ben2
Clara3
Noah3
Emma4
Paul2
Nina2
Leo2
Alina2
Felix2
Jonas2
Mara2
Lena2
Tim2
Sofia1
Ben1
Clara1
Noah1
Emma1
Paul1
Nina1
Leo1
Alina1
Felix1

Arc Diagram

Team network

Who works with whom: 14 nodes, 24 links in 4 groups.
Who works with whom, data table
labelLinks
Alina3
Felix2
Jonas3
Mara6
Lena6
Tim3
Sofia0
Ben5
Clara1
Noah4
Emma3
Paul4
Nina5
Leo3

Tree

Organisation

Organisation chart: 17 nodes under CEO.
Organisation chart, data table
labelConnections
CEO3
Product4
Revenue3
Operations4
Design1
Engineering4
Research1
Sales3
Marketing1
Finance1
People1
Legal1
Web1
Mobile1
Platform1
EMEA1
Americas1

Radial Tree

Organisation

Organisation chart: 17 nodes under CEO.
Organisation chart, data table
labelConnections
CEO3
Product4
Revenue3
Operations4
Design1
Engineering4
Research1
Sales3
Marketing1
Finance1
People1
Legal1
Web1
Mobile1
Platform1
EMEA1
Americas1

State – Loading

Team network

Who works with whom: 30 nodes, 40 links in 4 groups.

State – Hover

Team network

Who works with whom: 30 nodes, 40 links in 4 groups.
Who works with whom, data table
labelLinks
Product lead9
Design lead8
Sales lead8
Support lead9
Lena2
Tim2
Sofia2
Ben2
Clara3
Noah3
Emma4
Paul2
Nina2
Leo2
Alina2
Felix2
Jonas2
Mara2
Lena2
Tim2
Sofia1
Ben1
Clara1
Noah1
Emma1
Paul1
Nina1
Leo1
Alina1
Felix1

In context

How the component is used inside real screens — the same compositions as the Usage section of the Figma page.

Reporting Lines

An organisation chart as a tree.

Reporting lines

Teams and who they report to

Reporting lines: 17 nodes under CEO.
Reporting lines, data table
labelConnections
CEO3
Product4
Revenue3
Operations4
Design1
Engineering4
Research1
Sales3
Marketing1
Finance1
People1
Legal1
Web1
Mobile1
Platform1
EMEA1
Americas1

API Reference

PropTypeDefault
variant"force-graph" | "arc-diagram" | "tree" | "radial-tree""force-graph"
nodes · links{ id, label?, group?, size? }[] · { source, target, value? }[]—
tree{ name, children? }—
groups{ key, label?, color? }[]—
state"ready" | "loading" | "empty" | "error""ready"
hiddenSeries · animate · animationKeystring[] · boolean · string | number—
activeIndexnumber | null—
animateboolean—
animationKeystring | number—
classNamestring—
defaultActiveIndexnumber | null—
descriptionstring—
heightnumber—
hiddenSeriesreadonly string[]—
labelstring—
linksreadonly NetworkLink[][]
nodesreadonly NetworkNode[][]
onActiveIndexChange(index: number | null) => void—
onRetry() => void—
widthnumber—

Theming

The CSS variables this component reads. Set one on any wrapper to restyle everything inside it. More in Theming.

VariableUsed forDefault
Color
Stroke#D9E1E7dark #323438
Value#FFFFFFdark #1C1D20
Fill, stroke, value#000000dark #FFFFFF
Fill#454648dark #D1D1D1
Motion
Duration250ms
Easingcubic-bezier(0.22, 1, 0.36, 1)