Skip to content Skip to sidebar Skip to footer

Adding Legend To Plot - D3

After plotting a donut chart, I'm trying to add some legend, based on the following example: http://bl.ocks.org/ZJONSSON/3918369 However, I'm receiving this error: TypeError: unde

Solution 1:

You need to upload the code http://bl.ocks.org/ZJONSSON/3918369#d3.legend.js for the legend in your Javascript (just copy-and-paste it the code, it's the function d3.legend).


Post a Comment for "Adding Legend To Plot - D3"