# ワードクラウド

ワードクラウド（タグクラウド）を描画します。

| <picture><source srcset="/files/QzxnX4zSRkGRLyuNlhIy" media="(prefers-color-scheme: dark)"><img src="/files/Q3QiAFEUBOqleaUWDISC" alt="Word Cloud"></picture> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------- |

## 仕様

### 集計の仕様

ワードクラウドでは、[ワード（ディメンション）ごとに値（メトリクス）を集計](/data-exploration/chart/chart-common.md#dimension-metric)して表示します。

| 項目  | 役割      | 補足            |
| --- | ------- | ------------- |
| ワード | ディメンション | ワードクラウドの各ワード  |
| 値   | メトリクス   | ワードの大きさを決定する値 |

#### 使用例

* コンテンツのタグをワードクラウドで表示
  * ワード（ディメンション）: タグ名
  * 値（メトリクス）: タグが付与されたコンテンツの数

## Tips

### ワードがすべて表示されない場合

ワードクラウドでは、値の大きい順にワードの描画を行い、**表示領域に収まらないワードは自動的に非表示になります**。そのため、値の小さいワードは表示されない場合があります。

ワードの数が多く、すべてのワードが表示されない場合は、「フォントサイズの範囲」や「ワードの間隔」の調整や、チャートの表示領域の調整を行ってください。

「ワードの自動縮小表示」を有効化することで、表示領域に収まらないワードのフォントサイズを自動調整することができますが、ワードの数が多い場合、フォントサイズの再計算処理によりチャートの動作が重くなることがあります。そのため、この機能はデフォルトで無効になっています。有効化する際はワード数にご注意ください。

### フレーム機能

ワードクラウドはフレーム機能に対応しています。詳細は[フレーム機能](/data-exploration/chart/chart-common.md#frame-feature)を参照ください。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.codatum.jp/data-exploration/chart/word-cloud.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
