I am trying to create data visualization using dc.js library.
But my data has multiple value fields.
So here my part of data:
[{"_1000_1249":0,"_1250_1499":2},{"_1000_1249":1,"_1250_1499":2},{"_1000_1249":2,"_1250_1499":3}]
I want to create group with the data keys like this(calculating sum of data):
- "_1000_1249":3,(sum of "_1000_1249")
- "_1250_1499":7,(sum of "_1250_1499")
So How can I create dc.js row chart like this?
Thanks