TnT Tooltip is a basic tooltip library for TnT although it is not restricted to TnT and can be used on its own. Although it is very flexible and light, this library has not been developed as a general fully-featured tooltip library that matches all possible scenarios. The main characteristics of TnT Tooltip are:
The above example creates a new div element as the visualisation container. This anchor DOM element needs to be relative-positioned. The example then appends a SVG to this div element and a circle with some data using d3js. When this circle is clicked, a new tooltip is created and its data displayed in the tooltip.
TnT Tooltip can be used linking to the library directly. It depends on d3.js and this library needs to be linked before TnT Tooltip.
It is also possible to install the source code and build the library locally:
TnT works on HTML5, CSS3 and SVG-compliant browsers, which generally means any "modern browser". The TnT library and the other TnT-related libraries are tested regularly against Chrome (Chromium) and major changes are regularly tested in recent versions of Firefox, Safari (Webkit) and Opera. It has been also tested in IE versions 9+. If you find any problem, please let me know.
The TnT Tooltip library depends only on the D3.js library. Check its browser's compatibility note for more information.
Please, send any feedback to emepyc@gmail.com. Bug reports and feature requests are also welcome here