Multi-line chart with tooltip

Hi,

I would like to add a tooltip like the one given by the Line Chart with Tooltip example to the Multi-Line Chart - Zoom example, but I couldn’t do that.

Thanks for your time!


In the Zoom notebook the text is placed into the SVG in the highlightPoint cell.
SVG doesn’t support line breaks, so you will have too append another line of text.

dot.select("text").text(s.name);  // existing text.
// add another line
dot.append('text') 
 .attr("dy", "1em")
 .text('hodoor');