4

A multi-level pie chart is a pie (or donut) chart in which each piece of pie is further split into smaller pieces. It is sometimes also called "sunburst partition":

baobab

Is there an open source JavaScript library that would allow me to display a multi-level pie chart?
Data would be sent by the server, for instance as JSON/JSONP.

Requirements:

  • Display multi-level pie chart
  • Open source
  • Data must never be sent to any third-party (so no Google Charts)
  • 1
    How about d3? – John Sep 28 '15 at 10:21
  • @John: You mean bl.ocks.org/mbostock/4063423 I guess? It seems to require a bit of programming, but good find! – Nicolas Raoul Sep 28 '15 at 10:34
  • Yes, exactly. I does need quite a bit of programming, but so far d3 is the most versatile library for plotting diagrams of every kind. – John Sep 28 '15 at 11:05
4

If you want a highly customized, open-source Javascript chart library, then D3 is a clear choice. It has been making the lives of visual artists and data scientists a lot easier with a diverse range of possibilities, along with ease of use.

Your example chart looks like the Sunburst chart to me. And here is the chart re-created in D3

enter image description here

And your data is definitely safe, as you wouldn't be dealing/interacting with third parties.

Another library worth mentioning is the Highcharts.js; which is another wonderful visualizations open-source Javascript library.

Here is the fiddle for plotting a sunburst chart in Highcharts. And again, your data is completely safe and the library is open-source.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.