Well, there you are: a nice explanation of HyperLogLog, along with graphs, and a javascript demo to play with. And a tribute to Philippe Flajolet who came up with the algorithm.
http://blog.aggregateknowledge.com/2012/10/25/sketch-of-the-...
The Aggregate Knowledge blog is mind blowing for everything sketch related.