ASE: refactoring and changing data structure to d3.layout.stack for
stack bars