[annotator-dev] Heatmap plugin

Randall Leeds tilgovi at hypothes.is
Mon Feb 20 22:21:10 UTC 2012


Hey everyone,

Over the past few days I've gotten a heatmap plugin to the point that
I'm fairly happy with how it looks and behaves.
It draws a heatmap, showing the relative number of annotations at each
point in the document, alongside the scrollbar. Screenshot:
http://hypothes.is/images/heatmap.png

I think it needs a rectangle showing the viewport so users know that
the heatmap itself represents the whole document, and isn't expected
to scroll. For the moment, though, I need to work on other things.

Code at https://github.com/tilgovi/annotator/blob/heatmap/src/plugin/heatmap.coffee

I have not tested what happens with iframes, loading the annotator on
objects other than <body>, etc.

Cheers,
Randall




More information about the annotator-dev mailing list