/ Data Visualization

Python package for creating and visualizing interactive network graphs

Python package for creating and visualizing interactive network graphs

Pyvis - a Python library for visualizing networks

Python package for creating and visualizing interactive network graphs.

Pyvis

Installation

You can install pyvis through pip:

pip install pyvis

Or if you have an archive of the project simply run the following from the top level directory:

python setup.py install

Quick Start

The most basic use case of a pyvis instance is to create a Network object and invoke methods:

from pyvis.network import Network

g = Network()
g.add_node(0)
g.add_node(1)
g.add_edge(0, 1)
g.show("basic.html")

GitHub