3 ms·
I really wish there was a good javascript implementation of cushioned treemaps (www.win.tue.nl/~vanwijk/ctm.pdf). The only implementation I've found so far is b
by mixologic 12y ago
I really wish there was a good javascript implementation of cushioned treemaps (www.win.tue.nl/~vanwijk/ctm.pdf). The only implementation I've found so far is buried in a firefox plugin that gives a cushioned treemap of reddit comments(https://github.com/titusjan/plottit/blob/master/src%2Fchrome%2Fcontent%2Ftreemap.js#L563-L644 https://github.com/titusjan/plottit/blob/master/src%2Fchrome...), but I'd love to have one thats in a general purpose charting library.
There is a 'cargo cult' implementation in jit (https://github.com/philogb/jit/blob/master/Source%2FVisualizations%2FTreemap.js#L756-L764 https://github.com/philogb/jit/blob/master/Source%2FVisualiz...) - where they just fake some gradients to make pretend cusions, but its definitely not a true cushioned treemap, and adds nothing to the visual interpretation of the hierarchical structure of the data.
I guess I'll probably have to brush up on my JS skills and start blending things together.