Sankey
#############
.. tip::
`Hands-on Guide to Create beautiful Sankey Charts in d3js with Python. `_
-------------------------
Input Data
************
The input dataset is a DataFrame with three column, source, target and weight.
.. code:: python
# source target weight
# 0 Agricultural 'waste' Bio-conversion 124.729
# 1 Bio-conversion Liquid 0.597
# 2 Bio-conversion Losses 26.862
# 3 Bio-conversion Solid 280.322
# 4 Bio-conversion Gas 81.144
# .. ... ... ...
# 63 Thermal generation District heating 79.329
# 64 Tidal Electricity grid 9.452
# 65 UK land based bioenergy Bio-conversion 182.010
# 66 Wave Electricity grid 19.013
# 67 Wind Electricity grid 289.366
# [68 rows x 3 columns]
-------------------------
.. automethod:: d3blocks.d3blocks.D3Blocks.sankey
Charts
************
.. raw:: html
.. include:: add_bottom.add