Adding color to a bar chart using d3.scale.category10.
This is example 10 from the screencast Splitting Charts.
MIT License