I have a bar graph on my page I'm generating from D3. The graph itself looks good. Here's the question:
My graph has the following bars:
bar1 ****************
bar2 *******
...
barn ************
Now, each of these bars can be expanded into subcomponents:
bar1a *******
bar1b ***
...
bar1n ***
...
barn ************
Currently the way I'm expanding these bars is I have a little "x" on the left, so something like this:
x bar1 ****************
Finally, on the left, I'm going to use a tree control which will help display and filter the bar graph. I'm using this: https://code.google.com/p/checkboxtree/
My question: Is it good UX design to use the checkboxtree control to control the graph itself? Thus, if I have my tree menu w/ bar1 as a root, then I expand it, I will get (in the tree menu)
bar1
...bar1a
...bar1b
...bar1c
Then the bar graph will respond in that manner?
Thanks for your time