PMSI-AlignAlytics / dimple

An object-oriented API for business analytics
Other
2.73k stars 557 forks source link

Wish: Bubbles with attached arrows (e.g. like box + whisker diagram) #245

Open RichardNeill opened 8 years ago

RichardNeill commented 8 years ago

I'd like to suggest a new kind of chart, to allow additional data to be represented.

Consider the following data: an array of forthcoming projects, showing perhaps 50 different projects on a single chart. For each project, I want to represent:

This works excellently in a bubble chart. But it would also be useful to represent the project time-scale, e.g. that a project is centered on July 2016, but takes 1 month before and 2 months after.

I can imagine a couple of ways of doing this:

(a) allow the bubbles to be ellipses.

(b) allow the bubble to have a horizontal line, a bit like this: http://humblemason.com/wp-content/uploads/2015/06/2.png or like this: https://revisionworld.com/sites/revisionworld.com/files/imce/Box%20an1.gif

(c) the bubble has an arrow pointing out of it, a bit like this (but pointing to the right): http://freevector.co/wp-content/uploads/2014/07/76005-up-arrow-with-circle-200x200.png

In all cases, there would be 2 variants: a symmetrical one where the bubble extends forwards and backwards, and an asymmetrical one where the bubble extends just one way. It might also be desirable to make this appear only on hover to reduce clutter.

Lastly, this may also lay the groundwork for adding error-bars to charts, and possibly creating gantt charts.

Thanks for your help - Dimple is excellent, and I really appreciate it.