render({
mark: { type: "line" },
data: { values: data },
encoding: {
x: {field: 'month',
type:'nominal',
sort:{field: 'month_num'},
"axis": {
"grid": false,
"labelAngle": 0,
title: " "
}
},
y: {field: 'sunshine_hours', type: 'quantitative', axis: {title: "Hours of Sunshine"}},
color: {field: 'city', type: 'nominal', sort:["Miami", "San Francisco", "New York", "Houston", "Chicago", "Seattle"]}
},
width: 600
})