I want to create a population pyramid and animate this with d3.js like in this example http://populationpyramid.net/world/
I'm new to d3.js and I try to figure out how to start. So far I found the Stack layout as a possibility https://github.com/mbostock/d3/wiki/Stack-Layout
But I didn't figure out how to change the orientation axis to display it vertically instead of horizontally. How is that possible? Or is there another way to achive this with a different approach?
Thanks for reading!
Bernhard