vl_spec = ({
width: 350,
height: 350,
$schema: "https://vega.github.io/schema/vega-lite/v3.json",
data: {
url: 'https://vega.github.io/vega-datasets/data/seattle-temps.csv',
format: {
parse: {date: 'utc:"%Y/%m/%d"'}
}
},
mark: "bar",
encoding: {
x: {
bin: {step: 1},
field: "temp",
type: "quantitative",
axis: {format: ".1f"}
},
y: {
aggregate: "count",
type: "quantitative"
}
}
})