Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 38db161

Browse files
author
GitHub Actions Bot
committedJan 28, 2020
chore: update examples [CI]
1 parent f4671d1 commit 38db161

23 files changed

+29
-28
lines changed
 

‎examples/compiled/area_gradient.vg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "Google's stock price over time.",
3+
"description": "Google's stock price over time. Used to demonstrate gradient for area chart.",
44
"background": "white",
55
"padding": 5,
66
"width": 200,

‎examples/compiled/area_overlay.vg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "Google's stock price over time.",
3+
"description": "Google's stock price over time. Used to demonstrate a point overlay for an area chart.",
44
"background": "white",
55
"padding": 5,
66
"width": 200,

‎examples/compiled/bar_aggregate.vg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "A bar chart showing the US population distribution of age groups in 2000.",
3+
"description": "A bar chart showing the US population distribution of age groups in 2000. Used to demonstrate aggregation.",
44
"background": "white",
55
"padding": 5,
66
"width": 200,

‎examples/compiled/bar_aggregate_format.vg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "A bar chart showing the US population distribution of age groups in 2000.",
3+
"description": "A bar chart showing the US population distribution of age groups in 2000. Used to demonstrate aggregation and formatting.",
44
"background": "white",
55
"padding": 5,
66
"width": 200,

‎examples/compiled/bar_aggregate_size.vg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "A bar chart showing the US population distribution of age groups in 2000.",
3+
"description": "A bar chart showing the US population distribution of age groups in 2000. Used to demonstrate aggregation and use of the size channel.",
44
"background": "white",
55
"padding": 5,
66
"height": 200,

‎examples/compiled/bar_layered_transparent.vg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "A bar chart showing the US population distribution of age groups and gender in 2000.",
3+
"description": "A bar chart showing the US population distribution of age groups and gender in 2000. Used to demonstrate transparent layering of bars.",
44
"background": "white",
55
"padding": 5,
66
"height": 200,

‎examples/compiled/bar_yearmonth_custom_format.vg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "Temperature in Seattle as a bar chart with yearmonth time unit.",
3+
"description": "Temperature in Seattle as a bar chart with custom yearmonth time unit.",
44
"background": "white",
55
"padding": 5,
66
"width": 200,

‎examples/compiled/errorbar_horizontal_aggregate.vg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "A bar chart showing the US population distribution of age groups in 2000.",
3+
"description": "A bar chart showing the US population distribution of age groups in 2000. Used to demonstrate errorbar usage.",
44
"background": "white",
55
"padding": 5,
66
"width": 200,

‎examples/compiled/line.vg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "Google's stock price over time.",
3+
"description": "Google's stock price over time. Used to demonstrate a line chart.",
44
"background": "white",
55
"padding": 5,
66
"width": 200,

‎examples/compiled/line_shape_overlay.vg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "Google's stock price over time.",
3+
"description": "Google's stock price over time. Used to demonstrate a shape overlay for a line chart.",
44
"background": "white",
55
"padding": 5,
66
"width": 200,

‎examples/compiled/line_step.vg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "Google's stock price over time.",
3+
"description": "Google's stock price over time. Used to demonstrate step interpolation for a line chart.",
44
"background": "white",
55
"padding": 5,
66
"width": 200,

‎examples/compiled/line_timeunit_transform.vg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "Google's stock price over time. Used to demonstrate the time unit transform.",
3+
"description": "Seattle weather data. Used to demonstrate the time unit transform.",
44
"background": "white",
55
"padding": 5,
66
"width": 200,

‎examples/compiled/stacked_bar_population.vg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "A bar chart showing the US population distribution of age groups and gender in 2000.",
3+
"description": "A bar chart showing the US population distribution of age groups and gender in 2000. Used to demonstrate an auto stacked bar chart.",
44
"background": "white",
55
"padding": 5,
66
"height": 200,

‎examples/compiled/stacked_bar_population_transform.vg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "A bar chart showing the US population distribution of age groups and gender in 2000.",
3+
"description": "A bar chart showing the US population distribution of age groups and gender in 2000. Used to demonstrate stack transform (stacked bar chart).",
44
"background": "white",
55
"padding": 5,
66
"height": 200,

‎examples/compiled/stacked_bar_sum_opacity.vg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "A bar chart showing the US population distribution of age groups and gender in 2000.",
3+
"description": "A bar chart showing the US population distribution of age groups and gender in 2000. Used to demonstrate a stacked bar with opacity.",
44
"background": "white",
55
"padding": 5,
66
"height": 200,

‎examples/compiled/time_output_utc_scale.vg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "Google's stock price over time.",
3+
"description": "Google's stock price over time. Used to demonstrate utc scale for local time input.",
44
"background": "white",
55
"padding": 5,
66
"width": 200,
Loading

‎examples/compiled/time_output_utc_timeunit.vg.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "Google's stock price over time.",
3+
"description": "Google's stock price over time. Used to demonstrate utc timeunit for local time input.",
44
"background": "white",
55
"padding": 5,
66
"width": 200,
@@ -26,6 +26,7 @@
2626
"field": "date",
2727
"type": "timeunit",
2828
"units": ["year", "month", "date", "hours", "minutes"],
29+
"timezone": "utc",
2930
"as": [
3031
"utcyearmonthdatehoursminutes_date",
3132
"utcyearmonthdatehoursminutes_date_end"
@@ -56,7 +57,7 @@
5657
"scales": [
5758
{
5859
"name": "x",
59-
"type": "time",
60+
"type": "utc",
6061
"domain": {
6162
"data": "data_0",
6263
"field": "utcyearmonthdatehoursminutes_date"
@@ -111,7 +112,7 @@
111112
"labels": {
112113
"update": {
113114
"text": {
114-
"signal": "timeFormat(datum.value, timeUnitSpecifier([\"year\",\"month\",\"date\",\"hours\",\"minutes\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"}))"
115+
"signal": "utcFormat(datum.value, timeUnitSpecifier([\"year\",\"month\",\"date\",\"hours\",\"minutes\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"}))"
115116
}
116117
}
117118
}

‎examples/compiled/time_parse_local.vg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "Google's stock price over time.",
3+
"description": "Google's stock price over time. Used to demonstrate time parsing of input data.",
44
"background": "white",
55
"padding": 5,
66
"width": 20,

‎examples/compiled/time_parse_utc_format.vg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega/v5.json",
3-
"description": "Google's stock price over time.",
3+
"description": "Google's stock price over time. Used to demonstrate utc parsing of input data.",
44
"background": "white",
55
"padding": 5,
66
"width": 20,

‎examples/specs/normalized/area_gradient_normalized.vl.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
3-
"description": "Google's stock price over time. A normalized spec for a gradient area chart.",
3+
"description": "Google's stock price over time. Used to demonstrate gradient for area chart.",
44
"data": {"url": "data/stocks.csv"},
55
"transform": [{"filter": "datum.symbol==='GOOG'"}],
66
"layer": [
@@ -33,4 +33,4 @@
3333
}
3434
}
3535
]
36-
}
36+
}

‎examples/specs/normalized/area_overlay_normalized.vl.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
3-
"description": "Google's stock price over time. A normalized spec for a point overlay area chart. ",
3+
"description": "Google's stock price over time. Used to demonstrate a point overlay for an area chart.",
44
"data": {"url": "data/stocks.csv"},
55
"transform": [{"filter": "datum.symbol==='GOOG'"}],
66
"layer": [
@@ -26,4 +26,4 @@
2626
}
2727
}
2828
]
29-
}
29+
}

‎examples/specs/normalized/line_shape_overlay_normalized.vl.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
3-
"description": "Google's stock price over time. A normalized spec for a shape overlay area chart.",
3+
"description": "Google's stock price over time. Used to demonstrate a shape overlay for a line chart.",
44
"data": {"url": "data/stocks.csv"},
55
"transform": [{"filter": "datum.symbol==='GOOG'"}],
66
"layer": [
@@ -20,4 +20,4 @@
2020
}
2121
}
2222
]
23-
}
23+
}

0 commit comments

Comments
 (0)
Please sign in to comment.