Skip to content

Commit

Permalink
style: format example on the home page (vega#9121)
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz authored and BradyJ27 committed Oct 19, 2023
1 parent b4a6c49 commit 6834ee1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions examples/specs/bar_month.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@
"data": {"url": "data/seattle-weather.csv"},
"mark": "bar",
"encoding": {
"x": {"timeUnit": "month", "field": "date", "type": "ordinal"},
"y": {"aggregate": "mean", "field": "precipitation"}
"x": {
"timeUnit": "month",
"field": "date",
"type": "ordinal"
},
"y": {
"aggregate": "mean",
"field": "precipitation"
}
}
}

0 comments on commit 6834ee1

Please sign in to comment.