Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
lsh committed Sep 12, 2023
1 parent 34ecf2e commit 106fa63
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions examples/specs/bar_simple_binned_timeunit_special_chars.vl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"title": "A Simple Bar Chart with Lines at Extents",
"data": {
"values": [
{"a.b": "2022-01-01", "b": 28},
{"a.b": "2022-01-04", "b.b": 55},
{"a.b": "2022-01-07", "b": 43},
{"a.b": "2022-01-02", "b": 91},
{"a.b": "2022-01-05", "b.b": 81},
{"a.b": "2022-01-08", "b": 53},
{"a.b": "2022-01-03", "b": 19},
{"a.b": "2022-01-06", "b.b": 87},
{"a.b": "2022-01-09", "b": 52}
]
},
"mark": "bar",
"encoding": {
"y": {
"field": "a\\.b",
"type": "temporal",
"timeUnit": "binnedutcyearmonthdate",
"title": "a.b"
},
"x": {"field": "b", "type": "quantitative"}
}
}

0 comments on commit 106fa63

Please sign in to comment.