Draggable Piechart JS class

For a recent project I made a draggable piechart. I thought this might be useful, so I have made it open source for others to use: https://github.com/jamesalvarez/draggable-piechart

Here is the default example:

Your browser is too old!

The default behaviour gives each slice a minimum width. You can change colours and set it to allow collapsing pies:

Your browser is too old!

However you need to provide a way to uncollapse the segments, as below. You can also override the drawing routines, providing your own format arguments for each segment, and create a UI for it to interact with:

Your browser is too old!


Leave a Reply

Your email address will not be published. Required fields are marked *