Here is jsfiddle:
This is really good if you have, let's say, 2 political parties, and you want to present election results across several voting units, or similarly structured data.
However, I need to visually represents this: (5 political parties instead of 2) (please ignore all raws except "seats"; only "seats" are supposed to be visualized)
I would like to have a circle pack
inside each force layout node
.
For example, there should be a balloon called BC containing four smaller circles with areas proportional to 21, 12, 2, 1 (one political party didn't win any seat in BC - British Columbia), and so forth for all provinces in Canada.
Could you tell me if this is possible and/or outline code organization?