Skip to content

Commit 84a8fc3

Browse files
minor doc edits
1 parent fefa40a commit 84a8fc3

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

docs/visualize/tagcloud.asciidoc

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
[[tagcloud]]
22
== Tag Cloud
33

4-
A tag cloud visualization is a visual representation of text data, typically used to visualize free form text.
4+
A tag cloud visualization is a representation of text data, typically used to visualize free form text.
55
Tags are usually single words, and the importance of each tag is shown with font size or color.
66

77
The font size for each word is determined by the _metrics_ aggregation. The following aggregations are available for
88
this chart:
99
include::y-axis-aggs.asciidoc[]
1010

11-
1211
The _buckets_ aggregations determine what information is being retrieved from your data set.
1312

14-
Before you choose a buckets aggregation, select the *Split Tags* option.
13+
Select the *Tags* option to configure a _buckets_ aggregation.
1514

1615
You can specify the following bucket aggregations for tag cloud visualization:
1716

@@ -24,12 +23,11 @@ You can click the *Advanced* link to display more customization options for your
2423
definition, as in the following example:
2524

2625
[source,shell]
27-
{ "script" : "doc['grade'].value * 1.2" }
26+
{ "script" : "doc['size'].value + 'px'" }
2827

2928
NOTE: In Elasticsearch releases 1.4.3 and later, this functionality requires you to enable
3029
{es-ref}modules-scripting.html[dynamic Groovy scripting].
3130

32-
3331
Select the *Options* tab to change the following aspects of the chart:
3432

3533
*Text Scale*:: You can select *linear*, *log*, or *square root* scales for the text scale. You can use a log
@@ -38,9 +36,12 @@ regularize the display of data sets with variabilities that are themselves highl
3836
the variability is itself variable over the domain being examined, is known as _heteroscedastic_ data. For example, if
3937
a data set of height versus weight has a relatively narrow range of variability at the short end of height, but a wider
4038
range at the taller end, the data set is heteroscedastic.
41-
*Orientation*:: You can select how to orientate your text in the tag cloud. You can choose one of the following options:
42-
Single, right angles and multiple.
43-
*Font Size*:: Allows you to set minimum and maximum font size to use for this visualization.
39+
*Orientation*::
40+
- Single: all tags are orientation horizontally
41+
- right angles: tags are oriented horionztally and vertically
42+
- multiple: tags are oriented with multiple orientations
43+
*Font Size*:: Set the minimum and maximum font size.
44+
*Show Label*:: display or hide the default label.
4445

4546

4647
include::visualization-raw-data.asciidoc[]

0 commit comments

Comments
 (0)