Browse files

Use SI suffixes on the y axis.

  • Loading branch information...
1 parent b2a7f48 commit 167648abfb0d31830eb64232e298b7734e91bd62 @dustin dustin committed May 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 static/vbmap.js
View
2 static/vbmap.js
@@ -1012,7 +1012,7 @@ function makeVBStatThing(totalWidth, h, container) {
chart.select(".ruley").selectAll(".rule")
.data(y.ticks(10))
.attr("y", y)
- .text(function(d) { return maxvalue - d; });
+ .text(function(d) { return d3.format("0.2s")(maxvalue - d); });
chart.select(".ruley").selectAll(".rule")
.data(y.ticks(10))

0 comments on commit 167648a

Please sign in to comment.