is it possible to customer c3.js to meet my new type of chart requirements?
I have a requirement of the new graphs Zoomable Sunburst With Updating Data (http://bl.ocks.org/kerryrodden/477c1bfb081b783f80ad), Heat Map (http://jsfiddle.net/indiemaps/gzPDU/), Zoomable Circle Packing chart (http://bl.ocks.org/mbostock/7607535), Co-occurrence Matrix (http://bost.ocks.org/mike/miserables/) Is there is any possibility for me to customize c3.js to yield these charts?
Hi @madasuk!
So, the thing with adding more charts is that it adds more lines to the codebase for everyone who uses C3. By definition, C3 can't (and probably shouldn't) be all things to all people (That's what D3 is for! :smile:).
How frequently do people need to make those kinds of charts? I can't even think of how one would productively use some of them. Meanwhile, line, pie and donut charts are used by everybody — in fact, adding more bloat through unnecessary charts might decrease use of C3 by the people who appreciate its speed and simplicity. C3's primary use case is to quickly and easily produce basic charts.
So, I'm closing and marking as wontfix. If people comment on this issue and demonstrate there's actual demand for these charts, it's possible to reopen it and begin discussions about adding them. Another idea would be to add a sort of modular layer atop C3 that allows new charts to be added on a per-user basis (similar to how D3 uses plugins), but that's kind of outside the scope of this issue.
I also have a requirement of graph Zoomable Sunburst With Updating Data . How can I use c3js to add this chart ?
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)
