Hive Plot
Signature
sp.hive(title, axes, labels, categories, values, edges_i, edges_j, edges_w, *, variant="basic", **kwargs) -> Chart
Aliases: sp.hive, sp.hive_plot, sp.hive_chart, sp.hive_graph, sp.radial_network
Description
Hive plots organize network nodes on radial axes by category. Each axis corresponds to one node group (axes). Node position along the axis is determined by values (0–1). Edges between nodes are drawn as straight or curved lines through the center.
Variants
Data
axes (list[str]) — Axis (group) names. labels (list[str]) — Node names. categories (list[str]) — Group assignment per node. values (list[float]) — Node position along axis (0–1). edges_i (list[int]) — Source node indices. edges_j (list[int]) — Target node indices. edges_w (list[float]) — Edge weights. width / height (int) — Chart dimensions.
Parameters
Themes
Returns
Chart — object with .html property and .show() method.
Straight edge lines
Cubic bezier curves through center
Stroke width proportional to edge weight
Straight (uncurved), thin, low-opacity edges with small strokeless nodes — a decluttered reading of dense hive plots that trades the curved-edge chrome for raw connectivity.
Draws a small arrowhead where each edge lands on its target node — hive plots are frequently used for directed graphs (network traffic, citations), and this makes the direction readable at a glance instead of implied.