Skip to content

Commit

Permalink
docs(examples): add broken example for #9177
Browse files Browse the repository at this point in the history
  • Loading branch information
kanitw committed Nov 16, 2023
1 parent c229a32 commit b4d0566
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions examples/specs/bar_grouped_discrete_bandsize.vl.json
@@ -0,0 +1,26 @@
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"data": {
"values": [
{"category":"A", "group": "x", "value":0.1},
{"category":"A", "group": "y", "value":0.6},
{"category":"A", "group": "z", "value":0.9},
{"category":"B", "group": "x", "value":0.7},
{"category":"B", "group": "y", "value":0.2},
{"category":"B", "group": "z", "value":1.1},
{"category":"C", "group": "x", "value":0.6},
{"category":"C", "group": "y", "value":0.1},
{"category":"C", "group": "z", "value":0.2}
]
},
"mark": "bar",
"encoding": {
"x": {"field": "category"},
"y": {"field": "value", "type": "quantitative"},
"xOffset": {"field": "group"},
"color": {"field": "group"}
},
"config": {
"bar": {"discreteBandSize": {"band": 0.5}}
}
}

0 comments on commit b4d0566

Please sign in to comment.