forked from tzietkiewicz/ium-helloworld
32 lines
714 B
JSON
32 lines
714 B
JSON
{
|
|
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
|
|
"data": {
|
|
"values": "<DVC_METRIC_DATA>"
|
|
},
|
|
"title": "<DVC_METRIC_TITLE>",
|
|
"width": 300,
|
|
"height": 300,
|
|
"mark": {
|
|
"type": "line"
|
|
},
|
|
"encoding": {
|
|
"x": {
|
|
"field": "<DVC_METRIC_X>",
|
|
"type": "quantitative",
|
|
"title": "<DVC_METRIC_X_LABEL>"
|
|
},
|
|
"y": {
|
|
"field": "<DVC_METRIC_Y>",
|
|
"type": "quantitative",
|
|
"title": "<DVC_METRIC_Y_LABEL>",
|
|
"scale": {
|
|
"zero": false
|
|
}
|
|
},
|
|
"color": {
|
|
"field": "rev",
|
|
"type": "nominal"
|
|
}
|
|
}
|
|
}
|