Grafica library
This example shows many of the capabilities of the grafica library in action. Drag the mouse (+control key) over the first plot to pan in any direction. Left click to show the point labels. Click left in the second plot to re-center and use the mouse wheel to zoom. Click in the third plot to re-center. Click left/right in the fourth plot to zoom/un-zoom.
The beer mug image is a slightly modified version of the work by KLARA 78.
For more details, check the source code or play with it at JSFiddle.