I\'m using nvd3\'s piechart.js component to generate a piechart on my site. The provided .js file includes several var\'s, as follows:
var margin = {top: 30,
my_chart = nv.models.multiBarChart() .tooltip(function(key, x, y, e, graph) { return '' + key + '' + '' + y + ' on ' + x + ''; });
' + y + ' on ' + x + '