This is the code for Chapter 3, Figure 10 from D3.js in Action demonstrating how to use the .classed() function to highlight elements and change font-size by changing the CSS class of an element.
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js