I have a field called `csvdata` that contains an array of the following format:

```
[
    [1,2,3],
    [4,5,6],
    [7,8,9]
]

```

I'm trying to download a CSV file of this data.
I'm using Vue so it looks like:

```
<button type="button" class="btn btn-info action_btn" v-on:click="downloadCSVData">
      Download
</button>

```

How should the `downloadCSVData` function look like?