Skip to content

Instantly share code, notes, and snippets.

@zackdever
Created February 27, 2013 20:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zackdever/5051462 to your computer and use it in GitHub Desktop.
Save zackdever/5051462 to your computer and use it in GitHub Desktop.
make room for large numbers in nvd3.js charts
// http://stackoverflow.com/a/13472375/962091
// may also need to make room on the chart itself, maybe something like:
// chart.margin({left: 10});
d3.select('.nv-y.nv-axis > g').selectAll('g');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment