Pgfplots is a plotting package for 2d/3d visualization which can display
- values of point coordinates on click
- trend lines via drag-and-drop (including the slopes)
- arbitrary meta data when clicking onto a data point (both 2d/3d)
To activate it for all pgfplots figures in your document, simply write
\usepgfplotslibrary{clickable}
in your preamble.
Details, examples, and screenshots can be seen in the pgfplots manual http://pgfplots.sourceforge.net/pgfplots.pdf , here is an excerpt:
5.1 Clickable Plots
\usepgfplotslibrary{clickable} % LATEX and plain TEX
\usepgfplotslibrary[clickable] % ConTEXt
\usetikzlibrary{pgfplots.clickable} % LATEX and plain TEX
\usetikzlibrary[pgfplots.clickable] % ConTEXt
A library which generates small popups whenever one clicks into a
plot. The popup displays the coordinate under the mouse pointer,
supporting the optional snap-to-nearest clickable coords feature with
customizable displayed information. Furthermore, the library allows to
display slopes if one holds the mouse pressed and drags it to another
point in the plot. The library has two purposes: to compute slopes in
a simple way and to provide related, optional information to single
data points which are not important enough to be listed in the main
text (like prototype parameters or other technical things).