Using icicle plots
In this section, we are going to discuss a different kind of plot, which is called an icicle plot. An icicle plot is a method for presenting hierarchical clustering and is able to visualize hierarchical data using rectangular sectors that go from the root node to the leaves. In our case, we are going to use a zoomable icicle plot.
First, please go to the ZoomableIcicle
directory and replace the JSON file in files
with 100k.json
. This time, instead of changing the JavaScript code, we are going to change the field name of the JSON file from size
to value
. In general, it is better to change your input data than the code.
Figure 6.9 shows a part of the generated icicle visualization. The rectangle on the left side represents the root node, which contains 99,985 subsequences – this is the total number of subsequences stored in the iSAX index.
Figure 6.9 – Visualizing iSAX using an icicle
Apart from the SAX representation...