Published
Edited
Jan 31, 2019
Fork of LeeLowA2
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
VegaLite({
data: {values: trips},
transform: [
{calculate: "datum.tripduration / 60", as: "tripdurationinminutes"}
],
mark: "bar",
encoding: {
y: {
field: "usertype",
type: "nominal"
},
x: {
aggregate: "max",
field: "tripdurationinminutes",
type: "quantitative",
title: "maximum of tripduration in minutes"
}
}
})
Insert cell
Insert cell
VegaLite({
data: {values: trips},
transform: [
{calculate: "datum.tripduration / 60", as: "tripdurationinminutes"}
],
mark: "bar",
encoding: {
y: {
field: "usertype",
type: "nominal"
},
x: {
aggregate: "min",
field: "tripdurationinminutes",
type: "quantitative",
title: "minimum of tripduration in minutes"
}
}
})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more