> ## Documentation Index
> Fetch the complete documentation index at: https://docs.exploratory.io/llms.txt
> Use this file to discover all available pages before exploring further.

# 地図 - 経度/緯度

> 地図 - 経度/緯度で、経度と緯度を指定して地図上にサイズや色で値を可視化する方法を説明します。

地図 - 経度/緯度は、経度と緯度を指定して地図上に点を描き、サイズや色で値を比べられるチャートです。

地図 - 経度/緯度では、経度と緯度を指定して、サイズや色によって値を比べることができます。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-01.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=ce415e41210f049fea4aa80b3e6c7d01)

サンプルデータとして[国別のGDPと人口データ](https://exploratory.io/data/GMq1Qom5tS/GDP-1960-2018-eNu9igd7Wh)を使用していきます。

このデータは1行が国ごとの1年のGDPと人口を表しています。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-02.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=32a47c62efb1e8562bdefee2eb6e0bb6)

そして、データの期間は1960年から2018年までとなっています。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-03.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=a0f82a51a2c630d0afd1466be8c3f968)

今回は、データの中にある最新の年の2018年を興味の対象にしたいので、フィルタを使って2018年のみにします。

Yearの列ヘッダメニューから「フィルタ」を選び、演算子に「等しい」を選択します。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-04.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=f3a0a344e208adc4c9f02e2c31e614e1)

値に「2018」と入力して実行します。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-05.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=559649dd711298d3471ceeea7fb4bc2a)

2018年のデータのみにできました。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-06.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=44019f86bd7661e06133b958cb502e07)

新しくチャートを作成し、タイプに「地図 - 経度/緯度」を選択します。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-07.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=c6f25ff7ea24dcb406c7f6d07d618f71)

すると、経度と緯度にLongitude(経度)とLatitude(緯度)が自動で割り当てられました。経度・緯度が両方とも未指定のときだけ列名から自動で選ばれるため、既存のチャートからタイプを切り替えた場合は、両方の割り当てを確認してください。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-08.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=601d1718412a70885e41393e9407688b)

グループ化は（行番号）が選ばれていますが、今回は1行が1カ国となっているためこのまま使用します。もし、1行が州ごとに分かれているデータで国にまとめる必要があれば、グループ化に国を使用します。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-09.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=c315607694547a38d5051a406f99290d)

これによって、緯度と経度をもとに地図上にそれぞれの国をマッピングできました。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-10.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=0086dc4637020646fb2fce13f774d874)

次に、サイズにPopulation（人口）を選択します。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-11.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=0da1c498deb37f7b7ab8c3a05100cf48)

人口が多い国は円のサイズが大きく、人口が少ない国は円のサイズが小さく表現されます。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-12.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=d824596191dedbb0ef660410766d0246)

サイズを変更したい場合は、サイズの横にあるギアアギコンから変更できます。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-13.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=abeaacd3d033ad62115f1843e5656d82)

次に、色で分割にGDPを割り当てます。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-14.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=49a0c330e5fcdfe204fd1732b1618667)

しかし、アメリカと中国のGDPの値が大きすぎるため、そのほかの国の違いが読み取りづらくなっています。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-15.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=435fc55c4d392b2a044e35c58638a2a1)

これは、等幅という値の大きさをもとに5等分しているのですが、値を頻度（行の数）をもとに5等分する等頻度というタイプに変更します。

色で分割の下の等幅 (5)という緑のテキストをクリックします。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-16.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=5b851e27a0f1e7649c472ab5990ccb83)

タイプを「等頻度」に変更します。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-17.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=ffd9d86e01564d85a420bdc98600381f)

先ほどより、GDPの大きさの違いを比べやすくなりました。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-18.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=f1d7f157cac74226a2983f9ae1ff6fdd)

例えば、日本にマウスオーバーしてみるとラベルに国の情報がないことがわかります。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-19.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=6459bb03c3b3c6cb93188a0068e2ab56)

ラベルにCountryを選択し、タイトルとして表示にチェックします。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-20.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=3b558555ecef26f47e475b79092d1f8c)

マウスオーバーしてみるとタイトルとして国が表示されていることが確認できます。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-21.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=3aa1faf0d5e1eefa0fe69a7d12a2a5ff)

色を変更したい場合は、色で分割のメニューから「色の設定」をクリックします。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-22.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=ae749067f9b9b56be3a71985f51be192)

今回はカラーパレットに「イエロー・オレンジ・レッド」を選択します。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-23.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=f54ae7ad7bdf6a3562b08f75788bcd7b)

経度/緯度をもとに、国ごとのGDPと人口を比較するチャートが可視化できました。

![](https://mintcdn.com/exploratory-inc/CsxlHpjn7ExPh-O_/ja/viz/images/ja/map-24.png?fit=max\&auto=format\&n=CsxlHpjn7ExPh-O_\&q=85\&s=04bc1468f378e2b2a9916e198886b508)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.