# Geo chart

{% hint style="success" %}
*Check out the illustration on the Geo chart Properties.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxZF8YGlESz97qqyTOJvz%2Fuploads%2FT9wWbByJXKWlR8Z2k5q1%2FGeo%20chart.mp4?alt=media&token=bcb71bc0-3dc3-4f33-8846-60e35511bae2>" %}
Applying various Geo chart Properties to a View
{% endembed %}

Geo  chart uses geographic locations as the basis for displaying data. It is used to display data on a map, and can be used to show information such as population density, sales data, or weather patterns. Common types of Geo map charts include Choropleth maps which color regions according to data values, and point maps, which display data as individual points on the map. ​

The Leaflet is an open-source JavaScript library for creating interactive maps. It is designed to be lightweight and easy to use, and can be used to create a wide variety of map-based visualizations, including geo map charts.​ This chart is created using an open-source tool called Leaflet.​

## **Best Situations to Use a Geo chart**

To display widely spread data or processes in the geographical setup.

### **Examples**

* Sales: A point map can be used to display the locations of retail stores and their sales figures, allowing businesses to identify areas where sales are high or low.&#x20;
* To analyze the recruitment process​.

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> The Geo chart will get plotted using data that contains longitude and latitude as dimension and need to specify the same in the cell type using the ellipsis option.*
{% endhint %}

<figure><img src="https://3555642236-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxZF8YGlESz97qqyTOJvz%2Fuploads%2F0BezxwOmWBdyLrm9Z7nC%2Fimage.png?alt=media&#x26;token=6eb36dea-b2a1-48ce-9f58-3bd2304df518" alt=""><figcaption><p><em><strong>Default Geo Chart View</strong></em></p></figcaption></figure>

## Properties

### General Settings

**Exclude Global Filter:** By enabling this option, the View gets excluded from the Global Filter.

**Geometry Type:** Select an option from the drop-down menu. the supported options are Marker, Clustered, Trail, and Trip.

### View Filter

**Filter**: Select a filter option from the drop-down.

### Range

**Dynamic Range**: Enable this option to access the dynamic range.

**Min Color**: Select a color for the minimum range.

**Max Color**: Select a color for the maximum range.

### Insights

* **Text:** *Provide any information regarding the chart. If any digit or character is required to be highlighted, put it inside two asterisks. (E.g., \*70%\* or \*skills\*).*
* **Font Size:** Set/modify Font Size of the Insights text.
* **Font Color:** Select a Font color for the Insights Text.
* **Text align:** There are three alignments to align the text.
  * Left
  * Right
  * Centre
* **Position:** There are two options to position the text.

  * Bottom
  * Right      &#x20;

  <figure><img src="https://3555642236-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxZF8YGlESz97qqyTOJvz%2Fuploads%2FNPLr5kaYw80eZOqgnCU2%2Fimage.png?alt=media&#x26;token=a22fefa9-d95e-49b2-97e6-dfc6923136aa" alt=""><figcaption><p>Properties of the Geo chart</p></figcaption></figure>

## Configuring Cell Type&#x20;

The user needs to configure the **Series Properties** for the dragged **Latitude** and **Longitude** dimensions to plot the Geo chart.

* Click the ellipsis icon for the dragged ***Latitude/ Longitude*** dimension.
* The Properties tab for the selected dimension opens on the right side.
* Select the ***Cell Type*** option with a valid option (Select Latitude for the dragged Latitude dimension and Longitude for the Longitude dimension).

<figure><img src="https://3555642236-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxZF8YGlESz97qqyTOJvz%2Fuploads%2FHa6AnN9NZoPG44lr2OOB%2Fimage.png?alt=media&#x26;token=09918905-c8c3-4af2-8415-a81bf45fe23f" alt=""><figcaption><p><em><strong>Configuring the Longitude Category properties</strong></em></p></figcaption></figure>

<figure><img src="https://3555642236-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxZF8YGlESz97qqyTOJvz%2Fuploads%2Fne0UVOLQ2h7pFXZcfoBf%2Fimage.png?alt=media&#x26;token=9df4dd7d-f517-462c-8578-262d8f46d4ca" alt=""><figcaption><p><em><strong>Configuring the Latitude Category properties</strong></em></p></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> The user can change the display by selecting an option from the **Geometry Type** drop-down menu.*
{% endhint %}

The display of the Geo chart gets changed based on the selected ***Geometry Type***.

<figure><img src="https://3555642236-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxZF8YGlESz97qqyTOJvz%2Fuploads%2FcgsNWsHPbeoPgEJmcvlr%2Fimage.png?alt=media&#x26;token=77b4df79-271a-4de4-a8e3-b37c014529c8" alt=""><figcaption><p><strong>Geo Map with Clustered Geometry Type</strong></p></figcaption></figure>

<figure><img src="https://3555642236-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxZF8YGlESz97qqyTOJvz%2Fuploads%2FXNufMtnGbV9NasdP9Lz9%2Fimage.png?alt=media&#x26;token=a65e65f8-b53a-4f50-9669-d5e19f174383" alt=""><figcaption><p><strong>Geo Map with Trail Geometry Type</strong></p></figcaption></figure>

## Displaying Trip Geometry Type

The user must drag and drop required Dimensions and Measures to plot a View with Geo chart. Make sure that a relevant ***Measure*** has been dragged to the Dimensions/Measures box. E.g.,**Employee\_Capacity** in the given example.

* Click the ellipsis icon provided for the dragged Measure.
* The ***Properties tab*** for that dragged ***Measure*** opens on the right side.
* Select the ***Cell Type*** option as ***Trip Event***.

<figure><img src="https://3555642236-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxZF8YGlESz97qqyTOJvz%2Fuploads%2FRx7YQFHSxEwCRNDiOeOV%2Fimage.png?alt=media&#x26;token=817bfe43-a45d-4249-9d50-1ef4bb174559" alt=""><figcaption><p><em><strong>Cell Type for the dragged Measure</strong></em></p></figcaption></figure>

* Open the **Chart Properties**.
* Make sure that the selected **Geometry Type** is ***Trip** to display data for trip Geometry Type.*

<figure><img src="https://3555642236-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxZF8YGlESz97qqyTOJvz%2Fuploads%2FeCLSbsZtQbcF3pUK2vYT%2Fimage.png?alt=media&#x26;token=a7e8b031-f5fe-46f5-bbb8-0d0439e696fe" alt=""><figcaption><p><em><strong>Geometry Type selected as Trip</strong></em></p></figcaption></figure>
