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,
Just override in this way it will work definitely
function tooltipContent(key, y, e, graph) { return '' + key + '' +'' + y + '' ; }
' + y + '
Or
tooltipContent(function(key, y, e, graph) { return 'Some String' })