Breakout group on visualising networks with plotly



Use plotly to generate nice interactive graphics:

to visualise network flows and properties (i.e. node and edge properties of a directed graph, possibly also time series).

Minimal working example for Jupyter notebook:

Minimal example with plot of Germany network from PyPSA using SciGRID data:

Rivus has some in-built plotting with plotly:

Bad examples with static matplotlib:


You can plot scatters onto a map here:


here is an example with directed arrows:


Here is a forked version of @tom_brown’s PyPSA example using Mapbox:


From rivus:
Greatly inspired by
Example1 <>_ and
Example2 <>_.


With hover information on the lines:


Final demonstration of SciGRID with plotly: