Not really sure how to work with these tooltips, as I'm working off some example code. I have a scatterplot created by d3.js that uses tipsy to add tooltips to each circle. This is the part of the code that adds the label when you rollover any circle:
circles.append("title")
.text(function(d) { return d.attribute; })
"Attribute" is one of the columns in my data. I can change this to any of my column names and that becomes what's shown in the tooltip. What I'd like to do is have a tooltip with a full sentence that includes a piece of data from each column. What I'd love to do is something like this, which, of course, doesn't work at all, but I hope it gets the point across:
circles.append("title")
.text(function(d) { return d.attribute; } + "some text here" + function(d) { return d.variance; } + "more text here" + function(d) { return d.incidence; })
Thoughts on how I might make this work?