🎓 Classes using marimo.

Browse classes

made with marimo

Get inspired by this curated gallery, made with marimo: the open-source reactive Python notebook.

Share your molab notebook on socials and tag us for a chance to be featured: X · LinkedIn · Bluesky · Reddit

Visualizing Embeddings
marimo team

Visualizing Embeddings

Select points in embedded space to understand clusters better.

matplotlibml
Cellular Automaton
marimo team

Cellular Automaton

Art from a cellular automaton using matplotlib; inspired by Simone Conradi.

matplotlib
Arnold's Cat Map
marimo team

Arnold's Cat Map

Watch a rainbow grid scramble and reassemble under Arnold's cat map, with editable matrices.

mathwidget
Portfolio Calculator
marimo team

Portfolio Calculator

An interactive tool for portfolio analysis and investment calculations.

analysisdashboardfinance
Country ETF vs FTSE All-World
marimo team

Country ETF vs FTSE All-World

Blend single-country ETFs and compare their return against the FTSE All-World benchmark.

analysisdashboardfinance
Parallel Coordinates
marimo team

Parallel Coordinates

Explore Fashion MNIST in higher dimensions with interactive parallel coordinate brushing.

widgetml
SQLite and DuckDB
marimo team

SQLite and DuckDB

How to run SQLite directly, and from within DuckDB, using marimo SQL cells.

sql
Thermodynamic Linear Algebra

Thermodynamic Linear Algebra

Estimating the inverse of a matrix using thermodynamic principles with interactive visualizations.

matplotlibmathcommunity
Training Neural Networks
marimo team

Training Neural Networks

A notebook that trains a tiny neural network with Andrej Karpathy's micrograd

ml
Spectral Clustering
marimo team

Spectral Clustering

Using eigenvectors of the Laplacian to cluster data where k-means fails.

mathmatplotlib
Spectral Graph Drawing
marimo team

Spectral Graph Drawing

Drawing graphs via eigenvectors of the graph Laplacian.

mathmatplotlib
Spectral Denoising
marimo team

Spectral Denoising

Recover signals from noisy measurements on graphs using the Laplacian as a regularizer.

mathmatplotlib
Spectral Decomposition
marimo team

Spectral Decomposition

Interactively explore a spectral decomposition with matrix widgets

mathwidgetstem
Low-Rank Approximation
marimo team

Low-Rank Approximation

Compress images in real time using a low-rank approximation via the SVD.

mathmatplotlib
Dead Salmons of Interpretability

Dead Salmons of Interpretability

Interactive false-positive traps showing how feature attribution, probing, SAEs, and circuits 'find' structure in pure noise.

communityjamresearch
Inscribed Squares from Noise

Inscribed Squares from Noise

A diffusion model attacks the 100-year-old inscribed square problem by drawing (CVPR 2026).

communityjamresearch
Neural Thickets

Neural Thickets

A paper explainer for 'Diverse Task Experts Are Dense Around Pretrained Weights' with interactive loss landscapes and a RandOpt implementation.

communityjamresearch
Nested Clusters with EVoC
marimo team

Nested Clusters with EVoC

Explore nested clusters in Fashion MNIST using EVoC with interactive parallel coordinates and treemap views.

mlwidget
Recursive Images
marimo team

Recursive Images

Draw a shape, place copies of it as a rule, and render the recursive fractal.

widgetmath
Loss Landscape Visualization
marimo team

Loss Landscape Visualization

Visualize neural network loss landscapes in 3D; inspired by Ziming Liu.

ml
100 Prisoners Puzzle
marimo team

100 Prisoners Puzzle

An interactive simulation of the famous 100 prisoners probability puzzle.

mathwidgetanalysis
Lego Price Explorer
marimo team

Lego Price Explorer

Explore price differences across Lego themes and analyze price-per-piece patterns.

dashboardanalysis
World of Warcraft Bot Detection
marimo team

World of Warcraft Bot Detection

Interactive visualization for detecting bots in WoW player data using session length analysis.

dashboardanalysis
Comparing GDPO and GRPO
marimo team

Comparing GDPO and GRPO

A comparison of the GDPO and GRPO reinforcment learning algorithms.

llmalgorithmresearch
Drawdata Scatter
marimo team

Drawdata Scatter

Draw scatter data interactively and visualize it with Altair histograms.

widgetanalysis
Movies Dashboard
marimo team

Movies Dashboard

Explore movie data interactively with a dashboard constructed with marimo UI elements.

dashboard
Seam Carving
marimo team

Seam Carving

Content-aware image resizing that preserves important features using dynamic programming.

mathanalysisstem
Click and Zoom
marimo team

Click and Zoom

Click and zoom into maps to explore and get coordinates back in Python.

geo
Federated Learning

Federated Learning

Interactive simulation of federated learning with hospitals training local models and FedAvg aggregation.

mlanalysiscommunity
Signal Decomposition
marimo team

Signal Decomposition

Breaking a complex signal into the sum of simpler interpretable components.

stem
Matplotlib selections
marimo team

Matplotlib selections

Select data points on a scatter plot and get them back in Python.

widget
Drag and Drop
marimo team

Drag and Drop

Drag and drop GPX, GeoJSON, KML or TopoJSON files on to the map.

geo
Airport Display
marimo team

Airport Display

Use openstreetmaps and openlayers to show all the airports out there.

geo
Earthquakes
marimo team

Earthquakes

Highlight all known earthquakes on the openlayers map.

geo
Matrix
marimo team

Matrix

An interactive matrix editor for manipulating grid data.

widget
DuckDB SQL: F1 Dashboard
marimo team

DuckDB SQL: F1 Dashboard

Explore F1 races with DuckDB as a backend in marimo.

widget
Paint
marimo team

Paint

A drawing and painting canvas widget for freeform input.

widget
LLM Unlearning Bigger
marimo team

LLM Unlearning Bigger

Exploring unlearning in large language models by overfitting what you don't want.

llmalgorithmresearch
Seed of Thought
marimo team

Seed of Thought

Reproduce the String Seed of Thought paper: showing LLMs struggle to sample uniformly and a trick to fix it.

llmalgorithmresearch
Borsuk-Ulam Theorem
marimo team

Borsuk-Ulam Theorem

Can you draw a counter-example of the Borsuk-Ulam Theorem? Probably not.

mathalgorithm
SortableList
marimo team

SortableList

A draggable list for reordering items interactively.

widget
SQL interpolation
marimo team

SQL interpolation

A demo of how to use marimo UI and f-strings to interpolate SQL queries.

sql
SpeechToText
marimo team

SpeechToText

Convert voice input to text using the browser's speech recognition.

widget
CopyToClipboard
marimo team

CopyToClipboard

A utility widget for copying content to the clipboard.

widget
Trimesh demo
marimo team

Trimesh demo

Grab 2D slices using trimesh, a Python library to work with 3D files.

widgetcad
HTMLRefreshWidget
marimo team

HTMLRefreshWidget

Render dynamic HTML content that auto-refreshes.

widget
Tangle
marimo team

Tangle

Interactive number manipulation with draggable values in text.

widget
ChartPuck
marimo team

ChartPuck

Interactive chart editor with draggable control points.

widget
Matrix Decomposition
marimo team

Matrix Decomposition

An interactive exploration of matrix decomposition techniques.

widgetmathstem
Dicekit
marimo team

Dicekit

An interactive exploration of dice probability calculations and distributions.

mathstem
FastAPI + GliNER
marimo team

FastAPI + GliNER

Demo showing GliNER v2 for zero-shot entity extraction, runnable as webapp, API, or CLI.

ml
Altair Reactive Plots
marimo team

Altair Reactive Plots

Interactive Altair charts with brush selection and reactive filtering.

analysisdashboard
Sklearn Classification Workbook
marimo team

Sklearn Classification Workbook

Bootstrap scikit-learn classification models with automatic preprocessing and cross-validation.

mlanalysis
Lanchester's Law
marimo team

Lanchester's Law

Interactive simulation of Lanchester's Laws of combat

mathanalysiswidget
Suguru
marimo team

Suguru

Interactive Suguru puzzle solver and generator

mathanalysiswidget
Evolutionary Strategies
marimo team

Evolutionary Strategies

Interactive exploration of evolutionary optimization algorithms

mathalgorithm
Smoothed Gradient Descent
marimo team

Smoothed Gradient Descent

Visualize gradient descent with momentum and smoothing techniques

mathalgorithm
Vector Puck
marimo team

Vector Puck

Explore vector arithmetic with pucks over matplotlib

mathwidget
Simpson's Paradox with PyMC
marimo team

Simpson's Paradox with PyMC

Explore Simpson's paradox with Bayesian modeling, showing how confounding variables can reverse observed trends.

mathanalysis
Prompt Repetition
marimo team

Prompt Repetition

Reproduce research on prompt repetition with a notebook that can run experiments properly.

llmanalysis
Chemical Space Explorer

Chemical Space Explorer

Visualize molecular chemical space using t-SNE and HDBSCAN clustering.

mlstemcommunity
Slider2D
marimo team

Slider2D

A 2D slider control for selecting x/y coordinates interactively.

widget
Beyond Rock, Paper, Scissors
marimo team

Beyond Rock, Paper, Scissors

Explore why fair games require an odd number of elements through interactive game theory math.

mathwidget
Bayesian Regression Demo

Bayesian Regression Demo

Interactive Bayesian linear regression showing how posterior distributions evolve as data points are added.

mathmlcommunity
Convolution Explorer
marimo team

Convolution Explorer

Interactive exploration of 2D image convolution kernels with real-time side-by-side previews.

matplotlibalgorithm
Curating Data with Hugging Face and dltHub

Curating Data with Hugging Face and dltHub

Load, validate, filter, and publish ML datasets using dlt pipelines with Hugging Face and LanceDB.

mlcommunity
Conformal Mapping Explorer
marimo team

Conformal Mapping Explorer

How complex functions like z², 1/z, and e^z transform images using an interactive puck.

mathwidget
Infinity Zooming Effect
marimo team

Infinity Zooming Effect

Interactive recursive zoom simulator with log-polar coordinate transformations and paint!

math
Self-Attention
marimo team

Self-Attention

A primer on self-attention, a building block for modern Transformers.

llmmath
Multi-Head Attention
marimo team

Multi-Head Attention

A primer on multi-head attention, the standard attention block used in modern Transformers.

llmmath
Tractography Viewer

Tractography Viewer

Visualization of diffusion MRI tractography, with a widget to explore slices of a human brain by scrolling.

stemwidgetcommunity
OpenRouter Image Bakeoff
marimo team

OpenRouter Image Bakeoff

Compare image-generation models side-by-side through OpenRouter, with optional sketch-based prompting.

widget
Hypercube Graph
marimo team

Hypercube Graph

Interactively visualize hypercube graphs in arbitrary dimensions with a force-directed layout.

mathwidget
McNugget Graph
marimo team

McNugget Graph

Step through a breadth-first search of the McNugget problem and watch the reachable totals fan out.

mathwidget
Depth Anything V2
marimo team

Depth Anything V2

Upload a photo and visualize relative depth as a colorized map and interactive 3D point cloud.

mlwidget
Julia Sets via Lagrangian Descriptors

Julia Sets via Lagrangian Descriptors

Visualize Julia sets of the map z² + c using discrete Lagrangian descriptors, with interactive parameters and animation.

matplotlibmathcommunity
Bots for Connect4

Bots for Connect4

Explore Monte Carlo Tree Search step by step and play Connect 4 against an MCTS-powered bot.

algorithmmlcommunity
SymPy Gamma
marimo team

SymPy Gamma

A tiny SymPy Gamma in a notebook: analyze an expression to get its simplified form, roots, derivative, integral, series expansion, and plot.

mathmatplotlib
Elastic Net for the Travelling Salesman Problem
marimo team

Elastic Net for the Travelling Salesman Problem

Draw a set of cities and watch Durbin & Willshaw's elastic net method unfurl a rubber-band tour through them.

algorithmmathwidget
PrettyForest

PrettyForest

Explore tree-based ML ensembles as an interactive 2.5D isometric forest — trace predictions, drill into trees, sort by purity.

widgetmlcommunity
the Shape of Beliefs

the Shape of Beliefs

How language models represent statistics like mean and variance on curved activation manifolds, with steering experiments extended to geographic data.

llmresearchgeo
Predict the Image, Not the Noise

Predict the Image, Not the Noise

An interactive explainer of 'Back to Basics: Let Denoising Generative Models Denoise', showing diffusion models can predict clean images directly since natural images live on a low-dimensional manifold.

mlresearchwidget
The Winner's Curse
marimo team

The Winner's Curse

Simulate the winner's curse in a common-value auction and find the bid discount that removes it.

mathstem
Circle Genetic Art
marimo team

Circle Genetic Art

Rebuild an image from translucent circles or squares with a hill climber, and compare an all-at-once fit against a waves fit.

algorithmmathmatplotlib
2D Character Embeddings
marimo team

2D Character Embeddings

Train a tiny next-character predictor and watch a 2D embedding form for each letter.

matplotlibmlwidget
dtour: Interactive Tours of High-Dimensional Data

dtour: Interactive Tours of High-Dimensional Data

Animate through 2D projections of high-dimensional data and link the selections to other views.

widgetstemml