Storing an iSAX index in JSON format
For the visualizations of this chapter, we are going to use the low-level D3.js
JavaScript library.
Is D3.js the only way to create visualizations?
The powerful D3.js
JavaScript library is not a panacea and therefore, it is not the only way to create visualizations. There exist many Python packages that are good at plotting data, as well as programming languages such as R or Julia. However, JavaScript can be used for presenting your plots in a web page environment, which is not usually the case with the other options.
For the JavaScript D3.js
code to work, we need to represent an iSAX index in JSON format so that it can be understood by the JavaScript code – we mainly need to represent the structure and the connections between iSAX nodes in a way that can be understood by a computer and a programming language. Therefore, the first step we should take is to convert an iSAX index representation with its structures from Python code...