MicroSearch
MicroSearch visualizes the frequency and distribution of terms in a corpus.
Use it with a Jane Austen corpus or with your own corpus.
Overview
Each document in the corpus is represented as a vertical block where the height of the block indicates the relative size of the document compared to others in the corpus. The location of occurrences of search terms is located as red blocks (the brightness of the red further indicates the relative frequency within the corpus). Multiple search terms are collapsed together.
By default the top frequency word (after filtering for Stopwords) is shown.
Options
You can add more terms by using the search box – simply type in a term and hit enter (see Search for more advanced searching capabilities).
Clicking on the options icon allows you to define a set of stopwords to exclude – see the Stopwords for more information.
Spyral
To use MicroSearch widget in Spyral you can use the following code as a starting point. Modify the config object to modify the visualization.
let config = {
"query": null,
"stopList": "auto"
};
loadCorpus("austen").tool("microsearch", config);
Please see Tools.MicroSearch for more information about configuration.
Additional Information
Bubblelines is another tool for visualizing distribution of terms within documents on the scale of the entire corpus.