Breakout group on visualising networks with plotly

breakout-group
munich-2017

#1

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:

https://pypsa.org/examples/scigrid-lopf-then-pf.html


#2

You can plot scatters onto a map here: https://plot.ly/python/scattermapbox/


#3

here is an example with directed arrows:


#4

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


#5

From rivus:
Greatly inspired by
Example1 <https://plot.ly/python/lines-on-maps/>_ and
Example2 <https://plot.ly/python/3d-network-graph/>_.


#6

With hover information on the lines:


#7

Final demonstration of SciGRID with plotly:

https://pypsa.org/examples/plotly_network.html