{
for (let key in original.data) {
console.log(key + " -> " + original.data[key]);
let obj = original.data[key]
let state = obj["location"].split(" CD");
let feature = {
"type": "Feature",
"geometry" : {
"type": "Point",
"coordinates": []
},
"properties" : {
state: state[0],
value: obj["value"],
mean: obj["mean"],
},
}
geojson.features.push(feature)
}
return geojson
}