Is there a way to abbreviate large numbers on a d3.js axis? I recall seeing a helper method online but cannot find it again. I would like to abbreviate large numbers to reduce my chart margins and make it easier to read.
i.e. 1,000,000 = 1M etc
If anyone can post a link to the d3.js helper class it will be appreciated.