@@ -52,11 +52,41 @@ Word clouds provide the following :ref:`encoding channels
52
52
the size of each :guilabel:`Text` value, with larger aggregated
53
53
values resulting in larger text sizes.
54
54
55
+ .. example::
56
+
57
+ If you set the :guilabel:`Text` and :guilabel:`Size`
58
+ channels to the ``genres`` field from the
59
+ ``Sample Data: Movies`` collection,
60
+ |charts-short| creates a word cloud where the most frequently
61
+ occurring genres are largest.
62
+
63
+ If you set the :guilabel:`Text` channel to the ``genres``
64
+ field and the :guilabel:`Size` channel to the ``runtime``
65
+ field, |charts-short| creates a word cloud where the genres
66
+ with the longest aggregate runtimes are largest.
67
+
68
+
55
69
* - Color
56
70
- Category
57
71
- (*Optional*) Colors each text value to indicate a corresponding
58
72
data value from the applied field.
59
73
74
+ .. example::
75
+
76
+ If you set the :guilabel:`Text`, :guilabel:`Size`, and :guilabel:`Color` channels to the ``genres`` field from the
77
+ ``Sample Data: Movies`` collection, |charts-short| creates a
78
+ word cloud where the most frequently occurring genres are
79
+ largest and each genre is a different color.
80
+
81
+ If you set the :guilabel:`Text` and :guilabel:`Size`
82
+ channels to the ``genres`` field and you set the
83
+ :guilabel:`Color` channel to the ``rated`` field,
84
+ |charts-short| creates a word cloud where
85
+ the most frequently occurring genre and rating combinations
86
+ are largest. Each genre and rating combination is a different
87
+ color, so the green text value for dramas rated R displays
88
+ larger than the blue text value for dramas rated G.
89
+
60
90
Use Cases
61
91
---------
62
92
0 commit comments