Skip to content

Commit

Permalink
docs(example): bar_1d_dimension only
Browse files Browse the repository at this point in the history
  • Loading branch information
kanitw committed Nov 8, 2023
1 parent 38ca377 commit 03e8f71
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions examples/specs/bar_1d_dimension_only.vl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "A simple bar chart with embedded data.",
"data": {
"values": [
{"b": 0},
{"b": 10},
{"b": 10},
{"b": 10},
{"b": 10},
{"b": 20}
]
},
"mark": {"type": "bar", "orient": "horizontal"},
"encoding": {
"y": {"field": "b", "type": "quantitative"}
}
}

0 comments on commit 03e8f71

Please sign in to comment.