JavaScript Map, Foreach JSON

I’m new to javascript and using JSON datasource trying to aggregate data to display correctly on webpage, and this dataset gets subsetted based on user activity. Some of these datasets can get to be 100s of records, so being fast is important.

    //Here is my data
const jsonData ={
	"metadata": {
		"mm": {
			"filter": false
		}
	},
	"categories": [{
			"data": [

			],
			"name": "category_one"
		},

		{
			"data": [{
					"name": "13_WH1",
					"attributes": {
						"bv": 145
					},
					"vm": [
						4.0,
						8.0,
						6.0,
						6.0
					]
				},
				{
					"name": "32_WH2",
					"attributes": {
						"bv": 155
					},
					"vm": [
						5.0,
						7.0,
						7.0,
						2.0
					]
				}
			],
			"name": "category_two"
		}
	]
}

    function sumVm(data_set) {
      data_set.map(function(series, index) {
        const total_vm = series.data.reduce(
          (accumulator, record) => accumulator + record.vm,
          0
        );
        console.log(total_vm)
        return total_vm

      })
    };

When I call the function, here is my result (which is just repeating each record, not adding by position.

sumVm(jsonData)
# 04,8,6,65,7,7,2

The desired result i would want is:

# 9,15,13,8

Any suggestions would be very helpful, thank you