Hello all! First time poster and first time user here with a quick question.
I have been playing with the hierarchical bar chart example here:
A few questions come up...please keep in my mind my general ignorance of SVG and js.
1. What i would like to do is make the higher level bars equal to the mean of the children, rather than the sum. I have been playing with this for a few hours and it's not jumping out at me. I think if someone were to highlight the general area it wouldn't be a problem for me to get it done. I originally thought it was in the html file, but am starting to think it must be in the layout.js file. A point in the right direction would be awesome!
2. I would like to replace the numbers on the x-axis with string labels. Where would be the best spot and method to implement that change?
Sorry for the n00b questions, but thanks in advance!
Sean