# Geo Chart

### How to Create a Geo Chart

1. **Go to the Chart Builder**
   * Enter a natural language prompt describing the data you want to analyze.
   * Example:\
     `sales by state where market = USCA, as geo chart`
2. **Click "Next"**
   * After entering your description, click the **Next** button to proceed.

<figure><img src="/files/fj8qCXCoCaIoAHT7JuVg" alt=""><figcaption></figcaption></figure>

### Preview and Customize Your Chart

Once the system generates your Geo Chart, you will see a preview:

You can now:

* **Enter a Chart Name** at the top.
* **View** the automatically generated Geo Chart.
* **Chart Type** is automatically set to **Geo**.

<figure><img src="/files/W751RQcS5EsZs594bbBV" alt=""><figcaption></figcaption></figure>

***

### Customization Options

You can fine-tune the visualization using customization options:

* **Region Type**: Select `Country`, `Continent`, or other supported region types.
* **Region Name**: Define the specific country or continent (e.g., United States).
* **Resolution**: Choose the level of detail (`provinces`, `states`, `countries`, etc.).

You can also configure:

* **Geography Field**: Which field to use for geographic regions (e.g., State).
* **Metric**: The numerical value (e.g., Sum of Sales) to visualize.
* **Order By**: Sort data by any metric.

<figure><img src="/files/VQiiLJLws8SatA4Vu5EN" alt=""><figcaption></figcaption></figure>

***

### Advanced Editing

For more customization options, click on **Advanced Editor**:

In the Advanced Editor, you can:

* **Change chart colors**:
  * Set minimum and maximum colors for the gradient.
  * Customize midpoint and dataless region colors.
  * Optionally reverse the color gradient.
* **Adjust tooltips, legends, and background styles**.

Use the **Styles** panel to give your map the exact look and feel you want.

<figure><img src="/files/KZfiEZYTAPRSh8QRo3EK" alt=""><figcaption></figcaption></figure>

***

### Saving Your Geo Chart

After customizing:

* Click **Save** to finalize your chart.
* You can always come back to **Edit** or **Delete** charts later from the dashboard.

***

> **Tip:**\
> Use the Advanced Editor to create visually striking Geo Charts that help your audience quickly grasp patterns and insights across locations!

<figure><img src="/files/Esm3MTc4ZQEQ0T7d4IJv" alt=""><figcaption></figcaption></figure>


---

# 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.getinfinity.app/user-guide/comprehensive-user-guide/2.-charts/featured-chart-examples/geo-chart.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.
