🧮 Count-Min Sketch: Estimating Frequencies Without Storing Everything
Learn how the Count-Min Sketch estimates item frequencies in massive data streams using a fraction of the memory an exact hash-map counter would need.
This simulator visualizes how items get hashed into a grid of counters across multiple rows, and how taking the minimum value across rows yields an accurate frequency estimate despite hash collisions.
🔬 What It Demonstrates
This simulator visualizes how items get hashed into a grid of counters across multiple rows, and how taking the minimum value across rows yields an accurate frequency estimate despite hash collisions.
🎮 How to Use
Feed items into the stream, watch the counters increment across each row, and query an item to see how the minimum across rows produces its frequency estimate.
💡 Did You Know?
A Count-Min Sketch with just a handful of rows and a few thousand columns can accurately estimate frequencies across a stream containing hundreds of millions of distinct items.
Learn how the Count-Min Sketch estimates item frequencies in massive data streams using a fraction of the memory an exact hash-map counter would need.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install