I started this project by forking the static stacked bar chart created by Mike Bostock. I added two interactive features to the original chart. In order to see the whole view and the all interactive feature, please click Open in a new window.
Switching between Relative and Absolute View
Stacked bar chart always faces the problem of looking from absolute view and relative view at the same time. In this case, an absolute view would allow one to see the variation of total population across different states. However, it would be very hard to see the difference of age group distribution between states. By contrast, a relative view would well present the variation of age group distribution across states at the cost of losing the information of total population of each state after normalizing every state to 100%. This interactive stacked chart would enable one