A tag cloud (word cloud) can represent any numeric data by sizing labels proportionally, not just word frequencies. AnyChart tag clouds support ordinal color scales, color range legends, and custom interactivity for building data-driven visualizations.
This sample displays world population data by country, loaded from a JSON file. Country names are sized by population value and placed at three rotation angles (-90, 0, 90 degrees). A five-color ordinal palette (#26959f, #f18126, #3b8ad8, #60727b, #e24b26) groups countries into categories shown in a color range legend. Custom hover interactivity dims all words to a translucent fill and highlights only words matching the hovered color category, making it easy to compare countries within the same group.
See the Tag Cloud documentation for all configuration options.