hvega-0.5.0.0: tests/specs/gallery/advanced/density1.vl
{
"transform": [
{
"as": [
"organ",
"value"
],
"fold": [
"petalWidth",
"petalLength",
"sepalWidth",
"sepalLength"
]
},
{
"groupby": [
"organ"
],
"bandwidth": 0.3,
"density": "value"
}
],
"height": 50,
"mark": "area",
"data": {
"url": "https://vega.github.io/vega-lite/data/iris.json"
},
"width": 300,
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"encoding": {
"row": {
"field": "organ",
"type": "nominal"
},
"x": {
"field": "value",
"title": "value (cm)",
"type": "quantitative"
},
"y": {
"field": "density",
"type": "quantitative"
}
}
}