categoryColor = function(category) {
var colors = {
"Food provision": "#48EB70",
"Nonfood provision": "#FF9D13",
"Technosphere modification": "#DCDCDC",
"Maintenance of surroundings": "#F95738",
"Somatic maintenance": "#EBCD49",
"Deliberate neural restructuring": "#4DEAFF",
"Organization" : "#00BFB2",
"Experience oriented" : "#7F2FFF"
};
return colors[category];
}