I am busy customizing the Zoomable Icicle Layout in D3 to visualize a file hierarchy.
I have a filter which makes use of the answer on this question: How to filter children based on whether the parent is filtered in D3?
I have an arrow that is added to each folder that has hidden information (currently the arrow is just shown for all), so that if a user clicks the arrow, the next folder that was hidden is shown and the current folder is moved on or hidden which results in a horizontal scroll-like action which can be seen when using a calendar to scroll through the months.
Does anyone know how to handle this with the filters and how to update the layout with the folder that needs to be displayed on arrow click and then how to hide the currently displayed folder? It will obviously influence sub-folders within those folders as well.
NOTE: I need to display the sub-folders as well i.e. the folder's sub-tree
Here is the example code in a fiddle: jsfiddle.net/Sim1/vByL6/1/
Many thanks!