Skip to content

Commit

Permalink
doc(example): add example
Browse files Browse the repository at this point in the history
  • Loading branch information
kanitw committed Jun 21, 2023
1 parent f541070 commit 0597d61
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions examples/specs/bar_yearmonthdate_minBandSize.vl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"data": {"url": "data/seattle-weather.csv"},
"width": 997,
"mark": {"type": "bar"},
"encoding": {
"x": {
"timeUnit": "yearmonthdate",
"field": "date",
"type": "temporal"
},
"y": {"aggregate": "mean", "field": "temp_max"}
},
"config": {
"bar": {"minBandSize": 2}
}
}

0 comments on commit 0597d61

Please sign in to comment.