This example, using satirical data from The Onion, demonstrates how to wrap long axis labels to fit on multiple lines.
Note: The second point is not recommended practice but serves to ilustrate the variable wrap feature!
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js