Hover legend and interactive legend

Added examples of both a hoverLegend and interactiveLegend. The interactiveLegend could possibly replace both toggleLegend and hoverLegend, but at the moment, it feels a bit clunky, since all I did was copy code over to that class. 
please use more descriptive names than `b` and `d`