> For the complete documentation index, see [llms.txt](https://docs.powerpointgeneratorapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerpointgeneratorapi.com/examples/chart/populating-a-scatter-chart.md).

# Populating a Scatter chart

1. Select the shape by `name` you want to modify. See [here](/knowledge-base/finding-shape-names.md) to find shape names.
2. Under `data`:
   1. Define the main dataset for the chart.
   2. Use `additional_data` to insert extra information into specific cells in the chart’s data table.
   3. Each `cell_target` defines where the data will start being written.

Reference: [chart](/json-template-syntax/shapes/chart.md)

Download: [input.zip](https://drive.google.com/uc?export=download\&id=1bYMrqWiBoA04XYkSqgdtKC5Fb2uycSA9) | [output.pptx](https://drive.google.com/uc?export=download\&id=1nFvSCu5VkanLvXZvX8LR16VB2_YT5Tib)

{% columns %}
{% column width="41.66666666666667%" %}

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

***

<figure><img src="/files/UPSQLOhK7F7Mo1H8skek" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column width="58.33333333333333%" %}
{% code lineNumbers="true" %}

```json
{
    "presentation": {
        "template": "template.pptx",
        "slides": [
            {
                "slide_index": 0,
                "shapes": [
                    {
                        "name": "Plot",
                        "data": [
                            [
                              "a",
                              "b",
                              "c"
                            ],
                            [
                                3.8,
                                3.2,
                                7.6,
                                9.3
                            ],
                            [
                                7.2,
                                5.5,
                                6.3,
                                4.1
                            ],
                            [
                                6.2,
                                4.5,
                                5.3,
                                3.1
                            ],
                            [
                                1.2,
                                3.5,
                                9.3,
                                1.1
                            ]
                        ],
                        "additional_data":[
                            {
                                "cell_target": "A2",
                                "data": [
                                    ["A"],
                                    ["B"],
                                    ["C"],
                                    ["D"]
                                ]
                            }
                        ]
                    }
                ]
            }
        ]
    }
}
```

{% endcode %}
{% endcolumn %}
{% endcolumns %}
