philogb / jit

The JavaScript InfoVis Toolkit provides tools for creating Interactive Data Visualizations for the Web
http://thejit.org
Other
1.51k stars 297 forks source link

Implement Cushioned Treemaps #182

Open ryanaslett opened 10 years ago

ryanaslett commented 10 years ago

The "Cushioned Treemaps" option is not an actual cushioned map that follows the algorithm as spelled out in http://www.win.tue.nl/~vanwijk/ctm.pdf . It's currently just a gradient that doesnt really offer any additional value over a flat map. The formula presented in the cushioned treemap paper gives the viewer a high level impression of the underlying hierarchy.

It would be pretty awesome if this library supported the actual algorithm that generates those gradients (for examples, see windirstat/disk inventory X/ or Kdirstat - they all implement the algorithm).