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

# insightVisualizationUrl()

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

Gets URL of visualization that should be used to render this insight. This is a link to the location where the visualization assets are stored and where they should be loaded and linked from.

Note: at the moment, the SDK supports only compile-time linkage; for this the visualization URL is in format "local:visName" (as in "local:bar" for BarChart)

**Signature:**

```typescript
export declare function insightVisualizationUrl(insight: IInsightDefinition): string;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| insight | [IInsightDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iinsightdefinition/index.md) | insight to get visualization URL from |

**Returns:**

string
