title: Display y-axis as percentages?
body: <p>I'm making a chart, and I want my y-axis tick labels to display as percentages (instead of decimals). How can I do this?</p>
  
  <p>My current code looks something like</p>
  
  <pre><code>yAxis
    .append("text")
    .attr("class", "ticklabel")
    .attr("x", 0)
    .attr("y", y)
    .attr("dy", ".5em")
    .attr("text-anchor", "middle")
    .text(y.tickFormat(5))
    .attr("font-size", "10px")
  </code></pre>
  
  <p>I noticed that d3 has a <a href="https://github.com/mbostock/d3/wiki/Formatting#wiki-d3_format">format specifier</a>, but I'm not sure how to use these in conjunction with <code>tickFormat</code>.</p>