ndarville / d3-charts

Collection of small, reusable charts created with d3.js
7 stars 1 forks source link

Floating-point number in axis instead of integer #17

Closed ndarville closed 10 years ago

ndarville commented 10 years ago

Evident in the Confidence Interval chart.

ndarville commented 10 years ago
var yAxis = d3.svg.axis()
    .scale(y)
    .orient("left")
    .tickFormat(d3.format(".0%"));