~/talk

Sankey Plots with Python

Talkat PyCon DE & PyData Berlin 2022 · 2022-04-11..04-13· [data-visualization]
slides:none on file

Compares five Python approaches and shows what actually works on real Berlin census flows: raw matplotlib requires many manual tweaks but reproduces classic Sankey geometry, pythankey and apyankey accept dataframes quickly but limit customization, HoloViews + Bokeh gives interactivity with minimal code, and Plotly gives the most control at the cost of long layout fiddling. Finds an unexplained ~4,500 people "disappeared" in the data, demonstrates node repositioning hacks, and reports matplotlib: manual but faithful and plotly: fully adjustable.

AI-written summary · about

  1. 0:00Intro
  2. 7:32Python library
  3. 12:42DataFrame
  4. 14:13Bookie
  5. 16:29Plotly
  6. 20:02Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.