This grouped bar chart is constructed from a CSV file storing the populations of different states by age group. This is an attempt to improve on this visualization. The chart employs conventional margins and a number of D3 features:
You can see it fully rendered here: http://bl.ocks.org/ClashTheBunny/83d21db6af87fdc90cc4
Be sure to "Open in a new window", so you can see the second graph: http://bl.ocks.org/ClashTheBunny/raw/83d21db6af87fdc90cc4/
- d3.csv - load and parse data
- d3.scale.ordinal - x-position encoding and color encoding