Visualizations in Golang
summary
Two Go libraries exist: database renders data structures as Graphviz-style graphs and animates operations (push, bubble‑up, shrink) so a binary heap shows the exact swaps and produces a sorted list; it also draws B‑trees and red‑black trees. A second tool, plotClaude, uses gnuplot to animate gradient‑descent fitting on a small Indian land‑price dataset (1,000 iterations, snapshot every 100) so the regression line visibly converges. Code is available (github.com/arafatk/database) and the visuals run from plain Go programs.
AI-written summary · about
chapters (7)
- 0:00Start
- 4:44Priority Queue
- 6:11What Is a Heap
- 7:54Order Property
- 15:40Push Operations
- 17:00Shrinking the Heap Operation
- 24:10Gradient Descent








