NetworkX  ·  3D  ·  One line

Graphs that
come alive.

Turn any NetworkX graph into a stunning interactive 3D visualization. No server. No config. One function call.

$ pip install netgraph3d
Quick Start View Source
network_graph.html LIVE DEMO
netgraph3d demo
1
Line of Code
0
Dependencies
4
Input Formats
Graph Types
// features

Everything built in.
Nothing to configure.

A single self-contained HTML file with a full interactive 3D experience — share it anywhere.

🖱️
Click to Inspect
Click any node to open a side panel showing all its attributes — automatically, no extra setup needed.
🔍
Live Search
Search bar highlights nodes by name or label in real time. Navigate large graphs without losing context.
🏷️
Toggle Labels
Node labels and edge labels toggle independently. Keep the view clean or fully annotated — your choice.
🔄
Auto-Rotate
Toggle auto-rotation for presentations and demos. A single click turns it on or off.
🎮
Full 3D Control
Drag to rotate, scroll to zoom, Escape to deselect. Full camera control directly in the browser.
📄
Self-Contained HTML
One file. No server required. Send the HTML to anyone and it just works — no install on the other end.

// input formats

Works with your data,
as-is.

Bring graphs from any source. netgraph3d handles the rest.

🐍
NetworkX Graph
Pass any nx.Graph, DiGraph, or other NetworkX type directly — no conversion needed.
📊
CSV / Excel
Edge lists via pandas from CSV or Excel, with source, target, weight, and any custom attributes.
📦
JSON
Node and edge lists in JSON with arbitrary attributes on both nodes and edges.
🔬
Built-in Graphs
Jump straight in with built-ins like Karate Club, Les Misérables, or Barabási–Albert.

// quick start

Up and running
in seconds.

Pick a pattern and go.

example_basic.py

// installation

One command.
You're in.

Available on PyPI. Requires Python 3.8+.

pip install netgraph3d Python ≥3.8  ·  networkx
Optional: pip install pandas openpyxl for CSV / Excel support  ·  PyPI ↗  ·  GitHub ↗