Skip to content

Commit 9b525b8

Browse files
committed
Sample chart data
1 parent da3c16d commit 9b525b8

4 files changed

+3121
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
3+
"title": "{{ header }}",
4+
"width": 400,
5+
"height": 80,
6+
"data": {
7+
"url": "data/penguins.json"
8+
},
9+
"mark": "area",
10+
"transform": [
11+
{
12+
"density": "{{ x }}",
13+
"groupby": ["Species"],
14+
"extent": [2500, 6500]
15+
}
16+
],
17+
"encoding": {
18+
"x": {"field": "value", "type": "quantitative", "title": "{{ title_x }}"},
19+
"y": {"field": "density", "type": "quantitative", "stack": "zero"},
20+
"color": {"field": "{{ field_x }}", "type": "nominal"}
21+
}
22+
}

0 commit comments

Comments
 (0)