An interactive backprop explorer
Sep 15, 2026 · Seed · Related: Neural Networks: Zero to Hero, Machine Learning
Writing micrograd made backprop click in a way diagrams never did. What if the browser showed it live? Type a small expression, see the computation graph, then step through the backward pass one node at a time, with each local gradient and the accumulated gradient shown side by side.
Next steps:
- Sketch the graph layout for expressions with shared nodes.
- Reuse the micrograd
Valuedesign in a few hundred lines of JavaScript. - Test it on one friend who has never seen the chain rule.