novus/nvd3 — pull request #79 by kbuchanan (2013-02-22 20:19:37+00:00)
Title: Added ability to add data-attributes to svg points in scatterCharts

Send in a list of fields found in the data points, and only valid ones will become data attributes named after the data point.

e.g.

A data point has these values:
x = 1
y = 2
type = "typeA"

we call .dataAttributes(["type"] and the sag point will have the attribute data-type="typeA".