Hi Emily,

It sounds like what you might want is a Sunburst chart.  See
http://www.cc.gatech.edu/gvu/ii/sunburst/ for some examples.

GViz doesn't support Sunburst charts yet, though we may do that soon,
perhaps as a generalization of the PieChart.  The only alternative I can
suggest now would involve using a Dashboard to let the user select from the
list of main categories, and you would only show the smaller categories in
your PieChart.  Hope that helps.

dan


On Tue, Jan 15, 2013 at 2:35 PM, Emily Schechter
<[email protected]>wrote:

> Hi Everyone,
>
> Is it possible to "group" together sections of my pie chart? I have 2 main
> categories, which each have about 7 smaller categories, so I was hoping to
> display display 1 chart with all 14 categories in which the two overarching
> groups were clearly differentiated.
>
> For example, if my data for how I spend my day was:
> Work Activities: Answer phone (4 hours), File papers (4 hours), Leisure
> Activities: Sleep (8 hours), Watch TV (8 hours)
>
> Could I make a chart of all 24 hours in which the Work Activities slices
> were all next to each other and the Leisure Activities slices were all next
> to each other, each with perhaps a different color scheme? I know that I
> can change colors of slices manually but was also hoping I could pass in
> something like "Type of Activity" to make them appear next to each other (+
> I'm not sure if I can even define colors manually because the number of
> categories within the chart changes dynamically based on the pulled data)
>
> Let me know any thoughts. Thanks!
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-visualization-api/-/NIidyv99g4oJ.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>  -
978-394-1058
[email protected] <[email protected]>   562D 5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton MA

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to