hvega-0.10.0.0: tests/specs/time/nestedTime2.vl
{
"mark": "line",
"data": {
"values": [
{
"date": "Sun, 02 Jan 2012 00:00:00",
"price": 150
},
{
"date": "Sun, 02 Jan 2012 00:00:00",
"price": 100
},
{
"date": "Sun, 02 Jan 2012 01:00:00",
"price": 170
},
{
"date": "Sun, 02 Jan 2012 02:00:00",
"price": 165
},
{
"date": "Sun, 02 Jan 2012 03:00:00",
"price": 200
}
]
},
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"encoding": {
"x": {
"field": "date",
"scale": {
"type": "utc"
},
"timeUnit": "yearmonthdatehoursminutes",
"type": "temporal"
},
"y": {
"field": "price",
"type": "quantitative"
}
},
"description": "Google's stock price over time."
}