次の方法で共有


Scatter chart

Applies to: ✅Microsoft FabricAzure Data ExplorerAzure MonitorMicrosoft Sentinel

散布図のビジュアルでは、最初の列は x 軸で、数値列である必要があります。 その他の数値列は y 軸です。 散布図は、変数間のリレーションシップを観察するために使用されます。 The scatter chart visual can also be used in the context of Geospatial visualizations.

Note

This visualization can only be used in the context of the render operator.

Syntax

T|renderscatterchart [with(propertyName=propertyValue [, ...])]

Learn more about syntax conventions.

Parameters

Name タイプ Required Description
T string ✔️ 入力テーブル名。
propertyName, propertyValue string キーと値のプロパティのペアのコンマ区切りのリスト。 See supported properties.

Supported properties

すべてのプロパティは省略可能です。

PropertyName PropertyValue
accumulate 各メジャーの値を、それより前にあるすべてのものに追加するかどうか。 (true または false)
kind 視覚化の種類のさらに詳細な設定。 詳細については、「 kind プロパティ」を参照してください。
legend 凡例を表示するかどうか (visible または hidden)。
series レコードごとに結合された値によってそのレコードが属する系列が定義される、コンマ区切りの列のリスト。
ymin Y 軸に表示される最小値。
ymax Y 軸に表示される最大値。
title 視覚化のタイトル (string 型)。
xaxis x 軸のスケールを設定する方法 (linear または log)。
xcolumn x 軸に使用される結果の列。
xtitle x 軸のタイトル (string 型)。
yaxis y 軸のスケールを設定する方法 (linear または log)。
ycolumns x 列の値ごとに提供された値で構成される列のコンマ区切りのリスト。
ytitle y 軸のタイトル (string 型)。
PropertyName PropertyValue
kind 視覚化の種類のさらに詳細な設定。 詳細については、「 kind プロパティ」を参照してください。
series レコードごとに結合された値によってそのレコードが属する系列が定義される、コンマ区切りの列のリスト。
title 視覚化のタイトル (string 型)。

kind プロパティ

この視覚化は、 kind プロパティを指定することでさらに詳しく説明できます。 このプロパティでサポートされている値は次のとおりです。

kind Description
map 予期される列は、[経度、緯度] または GeoJSON ポイントです。 系列の列は省略可能です。 For more information, see Geospatial visualizations.

Example

このクエリは、状態の母集団と、Storm イベントによるプロパティの損害の合計との相関関係を分析するのに役立つ散布図を提供します。

The examples in this article use publicly available tables in the help cluster, such as the StormEvents table in the Samples database.

The examples in this article use publicly available tables, such as the Weather table in the Weather analytics sample gallery. ワークスペース内のテーブルと一致するように、クエリ例のテーブル名を変更する必要がある場合があります。

StormEvents
| summarize sum(DamageProperty)by State
| lookup PopulationData on State
| project-away State
| render scatterchart with (xtitle="State population", title="Property damage by state", legend=hidden)

散布図の視覚化の出力のスクリーンショット。