> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# v1.GeoChart

- Package: [@gooddata/sdk-code-schemas](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/index.md)
- Kind: interface
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-code-schemas/src/v1/metadata.ts

**Signature:**

```typescript
export interface GeoChart 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [config?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.geochart/index.md#v1geochartconfig) |  | [VisualisationConfig19](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.visualisationconfig19/index.md) | _(Optional)_ |
| [description?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.geochart/index.md#v1geochartdescription) |  | string | _(Optional)_ An optional description of the visualisation. |
| [id](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.geochart/index.md#v1geochartid) |  | [Id40](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.id40/index.md) |  |
| [is\_hidden?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.geochart/index.md#v1geochartis_hidden) |  | boolean | _(Optional)_ |
| [layers?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.geochart/index.md#v1geochartlayers) |  | [LayerItem](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.layeritem/index.md)[] | _(Optional)_ A list of data layers in this visualisation. Layer buckets reuse the root-level query definition. |
| [metrics?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.geochart/index.md#v1geochartmetrics) |  | ([Bucket](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.bucket/index.md) \| [EmptyBucket](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.emptybucket/index.md))[] | _(Optional)_ A list of metrics in this visualisation. |
| [query](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.geochart/index.md#v1geochartquery) |  | [Query19](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.query19/index.md) |  |
| [segment\_by?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.geochart/index.md#v1geochartsegment_by) |  | [Bucket](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.bucket/index.md)[] | _(Optional)_ A list of segment by attributes in this visualisation. |
| [show\_in\_ai\_results?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.geochart/index.md#v1geochartshow_in_ai_results) |  | boolean | _(Optional)_ Optional flag to indicate if the visualisation should be shown in AI results. When omitted, the visualisation is visible. |
| [tags?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.geochart/index.md#v1geocharttags) |  | [Tags33](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.tags33/index.md) | _(Optional)_ |
| [title?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.geochart/index.md#v1geocharttitle) |  | string | _(Optional)_ An optional human readable title for the visualisation. Will be derived from id if not provided explicitly. |
| [type](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.geochart/index.md#v1geocharttype) |  | "geo\_chart" | Type of visualisation. |
| [view\_by?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.geochart/index.md#v1geochartview_by) |  | [PushpinLocationBucket](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.pushpinlocationbucket/index.md)[] | _(Optional)_ A list of view by locations in this visualisation. |

## Property details

### v1.GeoChart.config

**Signature:**

```typescript
config?: VisualisationConfig19;
```

### v1.GeoChart.description

An optional description of the visualisation.

**Signature:**

```typescript
description?: string;
```

### v1.GeoChart.id

**Signature:**

```typescript
id: Id40;
```

### v1.GeoChart.is_hidden

> Warning: This API is now obsolete.
> 
> Deprecated. Use 'show\_in\_ai\_results' instead.
> 

**Signature:**

```typescript
is_hidden?: boolean;
```

### v1.GeoChart.layers

A list of data layers in this visualisation. Layer buckets reuse the root-level query definition.

**Signature:**

```typescript
layers?: LayerItem[];
```

### v1.GeoChart.metrics

A list of metrics in this visualisation.

**Signature:**

```typescript
metrics?: (Bucket | EmptyBucket)[];
```

### v1.GeoChart.query

**Signature:**

```typescript
query: Query19;
```

### v1.GeoChart.segment_by

A list of segment by attributes in this visualisation.

**Signature:**

```typescript
segment_by?: Bucket[];
```

### v1.GeoChart.show_in_ai_results

Optional flag to indicate if the visualisation should be shown in AI results. When omitted, the visualisation is visible.

**Signature:**

```typescript
show_in_ai_results?: boolean;
```

### v1.GeoChart.tags

**Signature:**

```typescript
tags?: Tags33;
```

### v1.GeoChart.title

An optional human readable title for the visualisation. Will be derived from id if not provided explicitly.

**Signature:**

```typescript
title?: string;
```

### v1.GeoChart.type

Type of visualisation.

**Signature:**

```typescript
type: "geo_chart";
```

### v1.GeoChart.view_by

A list of view by locations in this visualisation.

**Signature:**

```typescript
view_by?: PushpinLocationBucket[];
```
