D3partitionR icon indicating copy to clipboard operation
D3partitionR copied to clipboard

Proposals for improvements

Open olivier7121 opened this issue 6 years ago • 2 comments

Hello,

I think there is a great potential in this package.

Below are a few improvements I thought of:

  • Trail: In some cases (typically when more than one D3partitionR object are displayed in a Shiny application), the trail is cut off. One solution could be to put the trail in a scrollbars environment.

  • Colors option: Would it be possible to allocate different colors to every top level (i.e. obviously not the whole but the levels just below) and then to keep this color when descending into its sub-levels and just make its luminosity vary (i.e. gradient approach)?

  • Speed: When more than one D3partitionR object are displayed in a Shiny application and when the type of graph is changed (e.g. through a drop-down menu), it can take some time (around 10 seconds on my laptop - I can give its specifications if needed). Maybe the speed could be improved?

  • Inspirations: I found the Baobab (under GNU Linux) and WinDirStat (under Windows) softwares a great source of inspiration:

  1. It could be useful (perhaps as an option?) to be able to go through the different levels in a separate window (with scrollbars as well) next to the graph with the key figures displayed on each level (see Baobab); the different selected levels would then simultaneously be highlighted on the graph. Perhaps also as an alternative to the trail.
  2. A tiny improvement proposal: regarding the colors, they could be a bit more shiny like in WinDirStat.
  • Package management: Tiny last improvement: the package 'magrittr' could be automatically (i.e. not explicitely loaded by the user) loaded with D3partitionR.

  • Reference manual: I noticed some typos (e.g. "set_continuous_color_scale Add a custom discrete color scale").

Best regards,

Olivier

olivier7121 avatar Apr 03 '18 18:04 olivier7121