anytimeline¶
Interactive timeline charts for Jupyter and marimo notebooks, drawn on the GPU: event charts (one mark per event at the moment it happened, on lanes, so you see what happened, when, and in what order) and Gantt charts and schedules (bars from a start to an end). From a hundred events to a million; from nanoseconds to centuries.
The plots on these pages are live: hover over an event, drag to move through time, and click a plot and scroll to zoom. Switch between Time and Order in the toolbar.
What it does¶
- Events on lanes, colored, shaped and sized by your columns, with labels and tooltips (tutorial, how to).
- The order of events: the Order scale spaces events evenly, so a burst within a millisecond reads as clearly as events hours apart; routes join the events of one request, user or process (tutorial, how to).
- Any time: datetimes in any time zone and century, durations from nanoseconds up, plain numbers, or only an order (how to).
- Story timelines: a few dozen events, each with its text in a box on a stem, above and below the line, never overlapping (an incident, a release history: tell a story).
- Traces: spans under spans as a waterfall that folds, with the critical path; read from OpenTelemetry (plot traces).
- Groups and linked plots: hosts, days or runs as groups of lanes in one plot, or compared from their start; separate plots that zoom together (groups and linked plots).
- States and values: what state a service was in, its CPU or latency as a line, behind its events (states and values).
- Gantt charts, schedules and spans: bars from a start to an end, with dependencies, progress and milestones; overlapping bars stacked per lane (Gantt chart, schedules).
- Selection by click or box, given back as rows of your table (tutorial).
- Many events: a million events pan smoothly on a laptop's graphics chip, and the plot still works without one (how to).
It reads Polars, pandas, PyArrow and DuckDB tables, and works in JupyterLab, VS Code and marimo.
Example notebooks to run yourself: event charts, Gantt charts, story timelines, traces, states and values, groups and linked plots and sharing.
Where to start¶
- Tutorials: learn by drawing your first event chart, step by step.
- How-to guides: recipes for a task: your own tables, time columns, lanes, colors, routes.
- Reference: every argument and setting, every mouse gesture and key.
- Explanation: why the plot works the way it does.