A word cloud is a visualization method that displays the frequency or weight of words in text data, using different text sizes to represent word frequency. Word clouds help quickly identify the most commonly used or most important words in text data. The size of each word is typically proportional to its frequency — larger fonts represent more frequent or more important words, allowing users to intuitively see how often a word appears in the text. This visual approach enables users to quickly grasp the main content and core themes of the text.
Display the weight distribution of keywords in the AI technology field.
Display keyword weights for front-end development tech stack, custom colors
Display keyword weights for data science terminology, custom palette
| Property | Type | Required | Description |
|---|---|---|---|
| type | string | required | Value must be "word-cloud". |
| data | Object[] | required | Chart data. |
| data.text | string | required | The word to display in the word cloud. |
| data.value | number | required | Importance score of the word (frequency, weight, etc.). |
| title | string | optional | Chart title. |
| theme | 'default' | 'dark' | 'academy' | optional | Chart theme, default is "default". |
| style | Object | optional | Chart style. |
| style.backgroundColor | string | optional | Must be a valid color value. |
| style.palette | string[] | optional | Must be a valid color array. |