You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A collection of marimo notebooks showcasing algorithms,
research paper implementations, interactive visualizations, dashboards,
widgets, and more. Interactively explore these notebooks
at our online gallery.
Running notebooks online.
The easiest way to run the notebooks is with molab;
just click the "Open in molab" links below.
Running notebooks locally.Install uv, download the notebook you want to run, then run
uvx marimo edit --sandbox <notebook>
Algorithms
Notebook
Description
Embedding Visualiser
Select points in embedded space to explore clusters.
Neural networks
Training a tiny neural network with micrograd
Evolutionary Strategies
Interactive exploration of evolutionary optimization.
Smoothed Gradient Descent
Visualize gradient descent with momentum and smoothing.
Loss Landscape Visualization
Visualize neural network loss landscapes using local-plane blending.
Convolution Explorer
Pick a kernel and see convolution applied to images in real time.
Federated Learning
Simulate federated learning.
Sklearn Classification
Bootstrap models with preprocessing and cross-validation.
FastAPI + GliNER
Zero-shot entity extraction as webapp, API, or CLI.
Chemical Space Explorer
Explore chemical space with RDKit fingerprints, t-SNE, and HDBSCAN clustering.
Bayesian Regression
Interactive sequential Bayesian linear regression demo.
Research papers
Notebook
Description
GDPO vs GRPO
A comparison of GDPO and GRPO methods.
LLM Unlearning
Explore LLM unlearning by overfitting unwanted data.
Analysis
Notebook
Description
Lanchester's Law
Interactive simulation of Lanchester's Laws of combat.
Suguru
Interactive Suguru puzzle solver and generator.
ARC-Easy LLM
Prompt repetition experiment on ARC-Easy multiple-choice questions.
Simpson's Paradox
Bayesian analysis of Simpson's paradox with PyMC.
3D
Notebook
Description
Bookshelf
Make a bookshelf, using sliders, with marimo-cad.
Trimesh Demo
Grab 2D slices from 3D files with trimesh.
Vase
Make a vase for 3D printing with marimo-cad.
Dashboard
Notebook
Description
Lego Price Explorer
Explore Lego price-per-piece patterns.
Movies Dashboard
Explore movie data with a dashboard.
Portfolio Calculator
An interactive tool for portfolio analysis.
World of Warcraft Bot Detection
Detect bots in WoW using session length analysis.
Altair Reactive Plots
Altair charts with brush selection and reactive filtering.
Matplotlib Selection
Select data points on a matplotlib plot with mo.ui.matplotlib.
SQL
Notebook
Description
Connect to SQLite
Use marimo's SQL cells to read from and write to SQLite databases.
MotherDuck
Explore using MotherDuck inside marimo.
SQL Interpolation
Interactive SQL with slider-driven query interpolation.
External
Notebook
Description
Neo4j Widget
Interactive graph explorer for Neo4j databases.
Wandb Chart
Live Weights & Biases chart integration.
When Europeans Fly Nest
Dataviz makeover exploring when young Europeans leave home.
Mandelbrot
Cython vs Python Mandelbrot set benchmark.
Manim Slides
Trigonometric identity proof animated with manim-slides.
dltHub + Hugging Face
Curate Hugging Face datasets with dltHub pipelines and data quality checks.
Geo
Notebook
Description
Airport Display
Display all airports using OpenStreetMap and OpenLayers.
Click and Zoom
Click and zoom maps to get Python coordinates.
Drag and Drop
Drop GPX, GeoJSON, KML, or TopoJSON onto maps.
Earthquakes
Highlight all known earthquakes on the OpenLayers map.
Math
Notebook
Description
Spectral Decomposition
Interactively explore the spectral matrix decomposition
Signal Decomposition
Decompose complex signals into simpler interpretable components.
100 Prisoners Puzzle
Simulate the famous 100 prisoners probability puzzle.
Attractor
Interactive strange attractor visualization with scatter plots.
Matrix Decomposition
An interactive exploration of matrix decomposition techniques.
Seam Carving
Content-aware image resizing using dynamic programming.
Matrix
Interactive matrix editor and PCA demo using mo.ui.matrix.
Cellular Automaton Art
Voter-model cellular automaton that self-organises into paint-splatter art.
Bak-Sneppen Model
Interactive 3D visualization of the Bak-Sneppen self-organized criticality model.
Vector Puck
Explore vector arithmetic with pucks over matplotlib.
Thermodynamic Linear Algebra
Estimate a matrix inverse via overdamped Langevin dynamics.
Interactive ODE Solver
Drag to set initial conditions and explore solutions of an ODE with a direction field.
RPSLS Math
Explore balanced tournament graphs for Rock-Paper-Scissors variants.
ChartPuck Circle
Explore how complex functions transform circles interactively.
Droste Zoom
Simulate the Droste zoom effect with log-polar transforms.
Graph Laplacian
Spectral clustering with graph Laplacian eigenvectors.
Spectral Graph Drawing
Draw graphs using Laplacian eigenvectors as node coordinates.
Graph Signal Denoising
Denoise graph signals by projecting onto Laplacian eigenvectors.
Low-Rank Approximation
Interactive image compression with low-rank SVD.
Custom UI elements with Anywidget
Notebook
Description
CellTour
Create guided tours through notebook cells.
ChartPuck
Interactive chart editor with draggable control points.
ColorPicker
An interactive color selection widget.
CopyToClipboard
A utility widget for copying content to the clipboard.
DriverTour
Create guided page tours with the DriverTour widget.
EdgeDraw
Draw edges between nodes for graph creation.
EnvConfig
Configure environment variables interactively.
Fashion MNIST Parallel Coords
Explore Fashion MNIST with PCA and interactive parallel coordinates.
GamepadWidget
Capture input from gaming controllers.
Greedy Search Pucks
Greedy sampled search visualization with draggable pucks.
HTMLRefreshWidget
Render dynamic HTML content that auto-refreshes.
KeystrokeWidget
Capture keyboard input and key combinations.
Paint
A drawing and painting canvas widget for freeform input.
PulsarChart
Joy Division-style pulsar chart visualization.
ShortcutWidget
Keyboard shortcut capture widget.
Slider2D
A 2D slider control for selecting x/y coordinates interactively.
SortableList
A draggable list for reordering items interactively.
SpeechToText
Convert voice to text using browser speech recognition.
Tangle
Interactive number manipulation with draggable values in text.
TextCompare
Side-by-side text comparison with highlighted matching passages.
ThreeWidget
3D visualization widget using Three.js.
Drawdata Scatter
Draw scatter data and visualize with Altair histograms.
WebcamCapture
Capture images from the webcam.
About
A place where we store notebooks for our galleries