Activities in Implement Plotly Visuals
6 activities · 1 phase
| # | Name | Abbrev. | Guidance | Dependencies | Actions |
|---|---|---|---|---|---|
|
Build the Story in Plotly
6
|
|||||
| 1 | Set up the Plotly/Jupyter environment | IVS-1 | Import plotly.express as px and plotly.graph_objects as go, set the notebook renderer (pio.renderers.default = "notebook" … | ||
| 2 | Implement each storyboard entry as a Plotly figure | IVS-2 | Map each storyboard chart type to Plotly: time-series → px.line/go.Scatter(mode="lines"); part-to-whole/ranking → px.bar (sorted, never … | ||
| 3 | Apply scale/reference-line/annotation rules via layout methods | IVS-3 | Enforce ECR's decisions in code: fig.update_yaxes(rangemode="tozero") for bar charts, explicit range=[min,max] with round numbers for … | ||
| 4 | Build trellis/small-multiples and multi-view linking | IVS-4 | Use facet_col=/facet_row= (with facet_col_wrap=) in plotly.express for trellis/visual-crosstab layouts, keeping category_orders= set to sort panels … | ||
| 5 | Assemble the Jupyter storybook notebook | IVS-5 | Interleave a markdown cell (the question/insight from the storyboard) before each code cell that renders … | ||
| 6 | Review and export the final notebook/report | IVS-6 | Re-run the notebook top-to-bottom on a clean kernel to confirm every cell executes and every … | ||