c3 icon indicating copy to clipboard operation
c3 copied to clipboard

Does C3 support Sunburst chart

Open jasonjifly opened this issue 11 years ago • 7 comments

I have checked all existing examples and apis, haven't seen the support of Sunburst, do we have any other way to acheive it? Thank you in advance!

jasonjifly avatar Apr 30 '15 01:04 jasonjifly

+1

smart987 avatar May 28 '15 07:05 smart987

+1

danilo-helabs avatar Feb 23 '16 21:02 danilo-helabs

+1

pranav-shukla avatar Jul 04 '17 13:07 pranav-shukla

@panthony Thank you for pointing me here:

  • C3 version: v0.6.2
  • D3 version: v5.4.0
  • Browser: Any
  • OS: All

Sunburst charts are super useful! Consider if you will parent child groupings... for things like:

  • Fruits (25%) -- Apple (20%) -- Banana (20%) -- Orange (20%) -- Cherry (20%) -- Strawberry (20%)
  • Vegetable (25%) -- Lettuce (33%) -- Brussels Sprouts (33%) -- Carrot (33%)
  • Meat (25%) -- Pork (33%) -- Beef (33%) -- Chicken (33%)
  • Dairy (25%) -- Yogurt (25%) -- Cheese (25%) -- Ice Cream (25%) -- Milk (25%)

Here a sunburst would allow you to do an inner ring with (Fruit, Vegetable, Meat, Dairy) and an outer ring of all the rest of them but segmented off to match their parents in the inner ring.

The following example is simplified and shows age ranges (larger groups ex 18-34, and smaller child groups 18-24, 25-29, 30-34) screen shot 2018-06-12 at 3 22 30 pm

TheDesignerXD avatar Jun 13 '18 16:06 TheDesignerXD

+1

anotherliam avatar Jun 15 '18 00:06 anotherliam

+1

khsopro avatar Jul 30 '18 08:07 khsopro

Here is an example of a different d3 wrapper library's take on a sunburst for example.

http://www.d2bjs.org/example_categories/5/entries/19

jondavidjohn avatar Aug 31 '18 15:08 jondavidjohn