title: D3: change font size of axis labels
body: <p>I want to specify a font size for the labels of a time axis created with D3. I've tried following <a href="https://stackoverflow.com/a/19681335/5522601">this answer</a> with <a href="https://jsfiddle.net/speedymcs/o160fb10/" rel="noreferrer">this fiddle</a>, but it doesn't seem to do anything. I've also tried</p>
  
  <pre><code>d3.selectAll(".xAxis&gt;.tick&gt;text")
    .each(function(d, i){
      d3.select(this).style("font-size",30);
    });
  </code></pre>
  
  <p>to no avail. It can't be that hard...</p>