The tag visualization mod displays a set of selectable tags that can be used to query a dataset based on keywords.
Each tag represents a unique comma separated value in a column. Selecting a tag will mark all rows where the corresponding value occurs. This marking can then be used to limit the data displayed in other visualizations.
Data Requirements
Every mod handles missing, corrupted and/or inconsistent data in different ways. It is advised to always review how the data is visualized.
The tag visualization mod can be used to display tags in any data set with at least one categorical column.
Setting Up the Mod
Let's say we have data about the people and their pets:
Name | Pet |
---|---|
Franck | Dog |
Joe | Dog, Cat |
Olivier | Cat, Dog |
Anna | Dog, Cat |
Brie | Dog, Cat, Mouse |
Paula | Cat, Mouse |
Eric | Cat |
Jean | Cat |
A basic tag visualization can be configured to show one tag per Pet with the following settings:
- Tags = Pet
The resulting tag list will look like this:
Configuring the Mod
The tag visualization can be configured by setting the tag axis.
Using the Mod
Marking
Clicking on a tag will mark all rows with the corresponding key value in all other visualizations that uses the same marking. You can mark several tags by Ctrl-clicking on them.
Tags are marked when all rows corresponding to that tag is marked.
Clicking outside the tags will unmark all rows.
Building the Project
In a terminal window:
- npm install
- npm start
In a new terminal window:
- npm run server
Help and Support
This Mod is not supported by Spotfire® Support.
In the event of issues or to suggest features and enhancements, submit an issue in the Mod's GitHub repository.
For general questions about Mods, please post a question in the Forum for Extensions & Mods to make it visible and routed to the appropriate team(s) to respond.
More Information About Spotfire® Mods
- Spotfire Community Exchange: A safe and trusted place to discover ready-to-use Mods
- Developer Documentation: Introduction and tutorials for Mods developers
- Mods code examples on GitHub: A public repository for example projects
Recommended Comments
There are no comments to display.