Word cloud chart extension

The Word cloud chart (Word cloud chart) is a visualization extension that lets you create a visual of text data or free form text. Single words display and base their size on measure value. The measure can be anything you want to measure against, for example: times used, alphabetically, by importance, or by context. You can customize your chart with different shapes, fonts, layouts, and color schemes. It is included in the Visualization bundle.

Requirements

Word cloud charts must have one dimension and one measure. 

When to use it

A word cloud chart lets you visualize and identify the importance of a value against a measure. The more important the value is against the measure, the larger it displays in the cloud.

Creating a word cloud chart

You can create a word cloud on the sheet you are editing.

Do the following:

  1. In the assets panel, open Custom objects > Visualization bundle and drag a Word cloud chart object onto the sheet.
  2. Click the Add dimension button and select the dimension.
  3. Click the Add measure button to select the measure of the chart.

Once a dimension and a measure have been selected, the word cloud chart displays automatically.

Example:

A word cloud chart displaying food items in differnet sizes and colours.

A word cloud chart displaying food items in different sizes and colors.

Changing the appearance of the word cloud

You can customize your word cloud with one or more features.

Changing the orientation

You can set the shape or layout of the word cloud. Go to Appearance  > Design > Orientations in the properties panel and change the word orientation number. These must be positive numbers.

Example:

A word cloud chart displaying food items in differnet sizes, orientation, and colours.

A word cloud chart displaying food items in different sizes and colors.

Adjusting the start and end angles

You can adjust the starting point (angle) parameter of the word cloud under Appearance  > Design > Start angle, and the end point under Appearance  > Design > End angle in the properties panel. The angles can have positive or negative numbers.

Changing font size

You can set maximum word font sizes under Appearance  > Design > Font max size and the minimum under Appearance  > Design > Font min size in the properties panel. If a maximum and minimum limit is set, note that larger words disappear if the chart field is too small.

Changing scale

The word could chart scale can be either in linear or in log scale. Select scale Linear or Log under Appearance  > Design > Scale in the properties panel. Only positive values can be used for the log scale. Zero or negative values return nothing.

Setting custom ranges

You can also specify a range of colors or select from a predefined color scheme.

Do the following:

  1. Click Appearance > Design in the properties panel.
  2. Ensure that the Enable color range is set to On (default).
  3. Click the color palette beside From, and choose a color.
  4. Click the color palette beside To, and choose a color.

You can set your own color range by clicking the easel symbol in the color palette, and selecting a color. You can also enter a color code string in the field next to the easel symbol. The colors should be valid CSS colors.

Do the following:

  1. Click Appearance > Design in the properties panel.
  2. Move the Enable custom range slide button to the left to turn the option off.
  3. Select a color scheme under Scale color.

  4. A word cloud chart displaying food items in custom colors.
A word cloud chart displaying food items in different sizes and colors.

Formatting numbers

It is possible to format the measure value. Different formatting can be applied to the same value, for example as money, date, duration. The chart updates to reflect the changed number type.

Do the following:

  1. Click Data > Measures in the properties panel and click a measure.
  2. Select applicable number formatting form the Number formatting menu.
  3. Enter details in the panel fields. These display when choosing an option other than Auto when further configuring the chart.

Limitations

The word cloud extension can handle maximum of 100 words per entry.

For information about general limitations, see Limitations of visualization extension bundles supplied by Qlik.