<p>
Add the text-only description in form of a <code> <title></code> element to the associated node. The title is not rendered as part of the graphics, but it's displayed as a tooltip.
</p>
<pre><code>element.attr('rect/title', 'Description of the rectangle');</code></pre>