# Heatmap Plots (DP\_HMP)

A heatmap plot is a visualization technique that uses color-coded cells to represent the values of a two-dimensional dataset. It provides a quick and intuitive way to identify patterns, relationships, and variations in the data. Heatmap plots are commonly used in data analysis, exploratory data visualization, and correlation analysis.

## Sample Request

```javascript
{
    "project_id": 1,
    "block_id": ,
    "parent_id": 0,
    "function_code": "DP_HMP",
    "args": {
        "dataset": "http://cloud.autogonai.s3.amazonaws.com/1a65c19c-b891-4be3-bbfe-ed5c5ec58207.csv"
    }
}
```

## Parameter Details

## Heatmap Plots

<mark style="color:green;">`POST`</mark> `https://autogon.ai/api/v1/engine/start`

#### Request Body

| Name                                             | Type   | Description                        |
| ------------------------------------------------ | ------ | ---------------------------------- |
| project\_id<mark style="color:red;">\*</mark>    | int    | current project ID                 |
| parent\_id<mark style="color:red;">\*</mark>     | int    | parent block ID                    |
| block\_id<mark style="color:red;">\*</mark>      | int    | current block ID                   |
| function\_code<mark style="color:red;">\*</mark> | String | block's function code              |
| args<mark style="color:red;">\*</mark>           | object | block arguments                    |
| dataset<mark style="color:red;">\*</mark>        | String | URL for dataset to be plotted from |

{% tabs %}
{% tab title="200: OK Data Encode Successful" %}

```javascript
{
    "status": "true",
    "message": {
        "id": 3,
        "project": 1,
        "block_id": 7,
        "parent_id": 6,
        "dataset_url": "",
        "x_value_url": "",
        "y_value_url": ""
    }
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Python" %}

```
// Some code
```

{% endtab %}

{% tab title="Node" %}

```
projectId = 1
parentId = 6
blockId = 7

client.array_reshaping(projectId, parentId, blockId, {

```

{% endtab %}
{% endtabs %}
