← All embedding examples

Selection-driven annotation form

Hold Shift while dragging to brush a region, or click a point. A committed brush enables the form; the optional marimo bridge exchanges JSON-safe state with Python on http://127.0.0.1:8765.

The page listens to the named interval and point selections, then writes saved annotations back to the embed's named dataset. Add ?bridge=1 to connect this page to the notebook example while keeping the browser UI in control.

New annotation

Brush a region to enable the annotation form.

Region Name Description