~/talk

Enriching Data Visualizations with Annotations in Plotly

Talkat PyOhio 2021 · on Saturday, 2021-07-31· [data-visualization, python]
slides:none on file

Uses Plotly 5.1.0 and Plotly Express to annotate a Johns Hopkins COVID-19 subset for India and the United States, adding hover_data and a bottom-left footnote (showarrow=false, font size 10, gray, br for line breaks). Marks Thanksgiving at day 310, highlights the US holiday window with a vrect 305–357 (yellow, opacity set), flags the Jan 2 peak and vaccine rollout with boxed annotations (border, opacity, text offsets), demos templates (plotly_dark), and publishes code to the GitHub repo pyohio-plotly.

AI-written summary · about

  1. 0:00Introduction
  2. 0:40Data setup and loading
  3. 1:26Basic plotly charting
  4. 2:20Chart customization
  5. 3:27Adding a basic footnote
  6. 4:47Advanced annotations
  7. 6:39Visual highlights
  8. 7:37Line and box overlays
  9. 8:48Applying dark templates
  10. 9:15Conclusion
~/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.