diff --git a/examples/compiled/bar_yearmonth.png b/examples/compiled/bar_yearmonth.png index 225ca80015..e991791738 100644 Binary files a/examples/compiled/bar_yearmonth.png and b/examples/compiled/bar_yearmonth.png differ diff --git a/examples/compiled/bar_yearmonth.svg b/examples/compiled/bar_yearmonth.svg index cfc657fecc..04ae63701e 100644 --- a/examples/compiled/bar_yearmonth.svg +++ b/examples/compiled/bar_yearmonth.svg @@ -1 +1 @@ -Jan 2010Apr 2010Jul 2010Oct 2010Jan 2011date (year-month)010203040506070Mean of temp \ No newline at end of file +Jan 2012Jan 2013Jan 2014Jan 2015Jan 2016date (year-month)051015202530Mean of temp_max \ No newline at end of file diff --git a/examples/compiled/bar_yearmonth.vg.json b/examples/compiled/bar_yearmonth.vg.json index f14430bc42..cf5c294b94 100644 --- a/examples/compiled/bar_yearmonth.vg.json +++ b/examples/compiled/bar_yearmonth.vg.json @@ -9,7 +9,7 @@ "data": [ { "name": "source_0", - "url": "data/seattle-temps.csv", + "url": "data/seattle-weather.csv", "format": {"type": "csv", "parse": {"date": "date"}}, "transform": [ { @@ -22,12 +22,12 @@ "type": "aggregate", "groupby": ["yearmonth_date", "yearmonth_date_end"], "ops": ["mean"], - "fields": ["temp"], - "as": ["mean_temp"] + "fields": ["temp_max"], + "as": ["mean_temp_max"] }, { "type": "filter", - "expr": "(isDate(datum[\"yearmonth_date\"]) || (isValid(datum[\"yearmonth_date\"]) && isFinite(+datum[\"yearmonth_date\"]))) && isValid(datum[\"mean_temp\"]) && isFinite(+datum[\"mean_temp\"])" + "expr": "(isDate(datum[\"yearmonth_date\"]) || (isValid(datum[\"yearmonth_date\"]) && isFinite(+datum[\"yearmonth_date\"]))) && isValid(datum[\"mean_temp_max\"]) && isFinite(+datum[\"mean_temp_max\"])" } ] } @@ -43,7 +43,7 @@ "fill": {"value": "#4c78a8"}, "ariaRoleDescription": {"value": "bar"}, "description": { - "signal": "\"date (year-month)\" + \": \" + (timeFormat(datum[\"yearmonth_date\"], timeUnitSpecifier([\"year\",\"month\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"}))) + \"; \" + \"Mean of temp\" + \": \" + (format(datum[\"mean_temp\"], \"\"))" + "signal": "\"date (year-month)\" + \": \" + (timeFormat(datum[\"yearmonth_date\"], timeUnitSpecifier([\"year\",\"month\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"}))) + \"; \" + \"Mean of temp_max\" + \": \" + (format(datum[\"mean_temp_max\"], \"\"))" }, "x2": [ { @@ -59,7 +59,7 @@ }, {"scale": "x", "field": "yearmonth_date_end"} ], - "y": {"scale": "y", "field": "mean_temp"}, + "y": {"scale": "y", "field": "mean_temp_max"}, "y2": {"scale": "y", "value": 0} } } @@ -78,7 +78,7 @@ { "name": "y", "type": "linear", - "domain": {"data": "source_0", "field": "mean_temp"}, + "domain": {"data": "source_0", "field": "mean_temp_max"}, "range": [{"signal": "height"}, 0], "nice": true, "zero": true @@ -130,7 +130,7 @@ "scale": "y", "orient": "left", "grid": false, - "title": "Mean of temp", + "title": "Mean of temp_max", "labelOverlap": true, "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 diff --git a/examples/compiled/bar_yearmonth_custom_format.png b/examples/compiled/bar_yearmonth_custom_format.png index d80eb7489d..5351cba1e4 100644 Binary files a/examples/compiled/bar_yearmonth_custom_format.png and b/examples/compiled/bar_yearmonth_custom_format.png differ diff --git a/examples/compiled/bar_yearmonth_custom_format.svg b/examples/compiled/bar_yearmonth_custom_format.svg index 8f8afc216e..970a50aacc 100644 --- a/examples/compiled/bar_yearmonth_custom_format.svg +++ b/examples/compiled/bar_yearmonth_custom_format.svg @@ -1 +1 @@ -January of 2010April of 2010July of 2010October of 2010January of 2011date (year-month)010203040506070Mean of temp \ No newline at end of file +January of 2012January of 2013January of 2014January of 2015January of 2016date (year-month)051015202530Mean of temp_max \ No newline at end of file diff --git a/examples/compiled/bar_yearmonth_custom_format.vg.json b/examples/compiled/bar_yearmonth_custom_format.vg.json index 02649bca15..1528161754 100644 --- a/examples/compiled/bar_yearmonth_custom_format.vg.json +++ b/examples/compiled/bar_yearmonth_custom_format.vg.json @@ -9,7 +9,7 @@ "data": [ { "name": "source_0", - "url": "data/seattle-temps.csv", + "url": "data/seattle-weather.csv", "format": {"type": "csv", "parse": {"date": "date"}}, "transform": [ { @@ -22,12 +22,12 @@ "type": "aggregate", "groupby": ["yearmonth_date", "yearmonth_date_end"], "ops": ["mean"], - "fields": ["temp"], - "as": ["mean_temp"] + "fields": ["temp_max"], + "as": ["mean_temp_max"] }, { "type": "filter", - "expr": "(isDate(datum[\"yearmonth_date\"]) || (isValid(datum[\"yearmonth_date\"]) && isFinite(+datum[\"yearmonth_date\"]))) && isValid(datum[\"mean_temp\"]) && isFinite(+datum[\"mean_temp\"])" + "expr": "(isDate(datum[\"yearmonth_date\"]) || (isValid(datum[\"yearmonth_date\"]) && isFinite(+datum[\"yearmonth_date\"]))) && isValid(datum[\"mean_temp_max\"]) && isFinite(+datum[\"mean_temp_max\"])" } ] } @@ -43,7 +43,7 @@ "fill": {"value": "#4c78a8"}, "ariaRoleDescription": {"value": "bar"}, "description": { - "signal": "\"date (year-month)\" + \": \" + (timeFormat(datum[\"yearmonth_date\"], '%B of %Y')) + \"; \" + \"Mean of temp\" + \": \" + (format(datum[\"mean_temp\"], \"\"))" + "signal": "\"date (year-month)\" + \": \" + (timeFormat(datum[\"yearmonth_date\"], '%B of %Y')) + \"; \" + \"Mean of temp_max\" + \": \" + (format(datum[\"mean_temp_max\"], \"\"))" }, "x2": [ { @@ -59,7 +59,7 @@ }, {"scale": "x", "field": "yearmonth_date_end"} ], - "y": {"scale": "y", "field": "mean_temp"}, + "y": {"scale": "y", "field": "mean_temp_max"}, "y2": {"scale": "y", "value": 0} } } @@ -78,7 +78,7 @@ { "name": "y", "type": "linear", - "domain": {"data": "source_0", "field": "mean_temp"}, + "domain": {"data": "source_0", "field": "mean_temp_max"}, "range": [{"signal": "height"}, 0], "nice": true, "zero": true @@ -128,7 +128,7 @@ "scale": "y", "orient": "left", "grid": false, - "title": "Mean of temp", + "title": "Mean of temp_max", "labelOverlap": true, "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 diff --git a/examples/compiled/line_month.png b/examples/compiled/line_month.png index ef087aa23d..bd1528ae64 100644 Binary files a/examples/compiled/line_month.png and b/examples/compiled/line_month.png differ diff --git a/examples/compiled/line_month.svg b/examples/compiled/line_month.svg index f8317db5c3..4471a09837 100644 --- a/examples/compiled/line_month.svg +++ b/examples/compiled/line_month.svg @@ -1 +1 @@ -JanFebMarAprMayJunJulAugSepOctNovDecdate (month)010203040506070Mean of temp \ No newline at end of file +JanFebMarAprMayJunJulAugSepOctNovDecdate (month)0510152025Mean of temp_max \ No newline at end of file diff --git a/examples/compiled/line_month.vg.json b/examples/compiled/line_month.vg.json index 9d5edfe573..8e1a0c4e18 100644 --- a/examples/compiled/line_month.vg.json +++ b/examples/compiled/line_month.vg.json @@ -8,7 +8,7 @@ "data": [ { "name": "source_0", - "url": "data/seattle-temps.csv", + "url": "data/seattle-weather.csv", "format": {"type": "csv", "parse": {"date": "date"}}, "transform": [ { @@ -21,8 +21,8 @@ "type": "aggregate", "groupby": ["month_date"], "ops": ["mean"], - "fields": ["temp"], - "as": ["mean_temp"] + "fields": ["temp_max"], + "as": ["mean_temp_max"] } ] } @@ -39,12 +39,12 @@ "interpolate": {"value": "monotone"}, "stroke": {"value": "#4c78a8"}, "description": { - "signal": "\"date (month)\" + \": \" + (timeFormat(datum[\"month_date\"], timeUnitSpecifier([\"month\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"}))) + \"; \" + \"Mean of temp\" + \": \" + (format(datum[\"mean_temp\"], \"\"))" + "signal": "\"date (month)\" + \": \" + (timeFormat(datum[\"month_date\"], timeUnitSpecifier([\"month\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"}))) + \"; \" + \"Mean of temp_max\" + \": \" + (format(datum[\"mean_temp_max\"], \"\"))" }, "x": {"scale": "x", "field": "month_date"}, - "y": {"scale": "y", "field": "mean_temp"}, + "y": {"scale": "y", "field": "mean_temp_max"}, "defined": { - "signal": "isValid(datum[\"month_date\"]) && isFinite(+datum[\"month_date\"]) && isValid(datum[\"mean_temp\"]) && isFinite(+datum[\"mean_temp\"])" + "signal": "isValid(datum[\"month_date\"]) && isFinite(+datum[\"month_date\"]) && isValid(datum[\"mean_temp_max\"]) && isFinite(+datum[\"mean_temp_max\"])" } } } @@ -60,7 +60,7 @@ { "name": "y", "type": "linear", - "domain": {"data": "source_0", "field": "mean_temp"}, + "domain": {"data": "source_0", "field": "mean_temp_max"}, "range": [{"signal": "height"}, 0], "nice": true, "zero": true @@ -110,7 +110,7 @@ "scale": "y", "orient": "left", "grid": false, - "title": "Mean of temp", + "title": "Mean of temp_max", "labelOverlap": true, "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 diff --git a/examples/compiled/line_month_center_band.png b/examples/compiled/line_month_center_band.png index 668a8330e9..189e8a7e6d 100644 Binary files a/examples/compiled/line_month_center_band.png and b/examples/compiled/line_month_center_band.png differ diff --git a/examples/compiled/line_month_center_band.svg b/examples/compiled/line_month_center_band.svg index 66ce9fbf90..f5758cc9a0 100644 --- a/examples/compiled/line_month_center_band.svg +++ b/examples/compiled/line_month_center_band.svg @@ -1 +1 @@ -JanFebMarAprMayJunJulAugSepOctNovDecJandate (month)010203040506070Mean of temp \ No newline at end of file +JanFebMarAprMayJunJulAugSepOctNovDecJandate (month)0510152025Mean of temp_max \ No newline at end of file diff --git a/examples/compiled/line_month_center_band.vg.json b/examples/compiled/line_month_center_band.vg.json index e505798a7a..9e6e9c2414 100644 --- a/examples/compiled/line_month_center_band.vg.json +++ b/examples/compiled/line_month_center_band.vg.json @@ -9,7 +9,7 @@ "data": [ { "name": "source_0", - "url": "data/seattle-temps.csv", + "url": "data/seattle-weather.csv", "format": {"type": "csv", "parse": {"date": "date"}}, "transform": [ { @@ -22,8 +22,8 @@ "type": "aggregate", "groupby": ["month_date", "month_date_end"], "ops": ["mean"], - "fields": ["temp"], - "as": ["mean_temp"] + "fields": ["temp_max"], + "as": ["mean_temp_max"] } ] } @@ -40,14 +40,14 @@ "interpolate": {"value": "monotone"}, "stroke": {"value": "#4c78a8"}, "description": { - "signal": "\"date (month)\" + \": \" + (timeFormat(datum[\"month_date\"], timeUnitSpecifier([\"month\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"}))) + \"; \" + \"Mean of temp\" + \": \" + (format(datum[\"mean_temp\"], \"\"))" + "signal": "\"date (month)\" + \": \" + (timeFormat(datum[\"month_date\"], timeUnitSpecifier([\"month\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"}))) + \"; \" + \"Mean of temp_max\" + \": \" + (format(datum[\"mean_temp_max\"], \"\"))" }, "x": { "signal": "scale(\"x\", 0.5 * datum[\"month_date\"] + 0.5 * datum[\"month_date_end\"])" }, - "y": {"scale": "y", "field": "mean_temp"}, + "y": {"scale": "y", "field": "mean_temp_max"}, "defined": { - "signal": "isValid(datum[\"month_date\"]) && isFinite(+datum[\"month_date\"]) && isValid(datum[\"mean_temp\"]) && isFinite(+datum[\"mean_temp\"])" + "signal": "isValid(datum[\"month_date\"]) && isFinite(+datum[\"month_date\"]) && isValid(datum[\"mean_temp_max\"]) && isFinite(+datum[\"mean_temp_max\"])" } } } @@ -66,7 +66,7 @@ { "name": "y", "type": "linear", - "domain": {"data": "source_0", "field": "mean_temp"}, + "domain": {"data": "source_0", "field": "mean_temp_max"}, "range": [{"signal": "height"}, 0], "nice": true, "zero": true @@ -116,7 +116,7 @@ "scale": "y", "orient": "left", "grid": false, - "title": "Mean of temp", + "title": "Mean of temp_max", "labelOverlap": true, "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 diff --git a/examples/compiled/point_dot_timeunit_color.png b/examples/compiled/point_dot_timeunit_color.png index b6b297694f..2e14731941 100644 Binary files a/examples/compiled/point_dot_timeunit_color.png and b/examples/compiled/point_dot_timeunit_color.png differ diff --git a/examples/compiled/point_dot_timeunit_color.svg b/examples/compiled/point_dot_timeunit_color.svg index 2b59bd20eb..52e22f3013 100644 --- a/examples/compiled/point_dot_timeunit_color.svg +++ b/examples/compiled/point_dot_timeunit_color.svg @@ -1 +1 @@ -010203040506070Mean of tempJan 2010Apr 2010Jul 2010Oct 2010date (year-month) \ No newline at end of file +051015202530Mean of temp_maxJan 2012Dec 2015date (year-month) \ No newline at end of file diff --git a/examples/compiled/point_dot_timeunit_color.vg.json b/examples/compiled/point_dot_timeunit_color.vg.json index c5ed0beaa4..ca59d5211f 100644 --- a/examples/compiled/point_dot_timeunit_color.vg.json +++ b/examples/compiled/point_dot_timeunit_color.vg.json @@ -8,7 +8,7 @@ "data": [ { "name": "source_0", - "url": "data/seattle-temps.csv", + "url": "data/seattle-weather.csv", "format": {"type": "csv", "parse": {"date": "date"}}, "transform": [ { @@ -21,12 +21,12 @@ "type": "aggregate", "groupby": ["yearmonth_date"], "ops": ["mean"], - "fields": ["temp"], - "as": ["mean_temp"] + "fields": ["temp_max"], + "as": ["mean_temp_max"] }, { "type": "filter", - "expr": "(isDate(datum[\"yearmonth_date\"]) || (isValid(datum[\"yearmonth_date\"]) && isFinite(+datum[\"yearmonth_date\"]))) && isValid(datum[\"mean_temp\"]) && isFinite(+datum[\"mean_temp\"])" + "expr": "(isDate(datum[\"yearmonth_date\"]) || (isValid(datum[\"yearmonth_date\"]) && isFinite(+datum[\"yearmonth_date\"]))) && isValid(datum[\"mean_temp_max\"]) && isFinite(+datum[\"mean_temp_max\"])" } ] } @@ -43,9 +43,9 @@ "stroke": {"scale": "color", "field": "yearmonth_date"}, "ariaRoleDescription": {"value": "point"}, "description": { - "signal": "\"date (year-month)\" + \": \" + (timeFormat(datum[\"yearmonth_date\"], timeUnitSpecifier([\"year\",\"month\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"}))) + \"; \" + \"Mean of temp\" + \": \" + (format(datum[\"mean_temp\"], \"\"))" + "signal": "\"date (year-month)\" + \": \" + (timeFormat(datum[\"yearmonth_date\"], timeUnitSpecifier([\"year\",\"month\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"}))) + \"; \" + \"Mean of temp_max\" + \": \" + (format(datum[\"mean_temp_max\"], \"\"))" }, - "x": {"scale": "x", "field": "mean_temp"}, + "x": {"scale": "x", "field": "mean_temp_max"}, "y": {"signal": "height", "mult": 0.5} } } @@ -55,7 +55,7 @@ { "name": "x", "type": "linear", - "domain": {"data": "source_0", "field": "mean_temp"}, + "domain": {"data": "source_0", "field": "mean_temp_max"}, "range": [0, {"signal": "width"}], "nice": true, "zero": true @@ -86,7 +86,7 @@ "scale": "x", "orient": "bottom", "grid": false, - "title": "Mean of temp", + "title": "Mean of temp_max", "labelFlush": true, "labelOverlap": true, "tickCount": {"signal": "ceil(width/40)"}, diff --git a/examples/compiled/rect_heatmap_weather.png b/examples/compiled/rect_heatmap_weather.png index e48e7cb1d9..802973ad73 100644 Binary files a/examples/compiled/rect_heatmap_weather.png and b/examples/compiled/rect_heatmap_weather.png differ diff --git a/examples/compiled/rect_heatmap_weather.svg b/examples/compiled/rect_heatmap_weather.svg index 340d64f32a..5fc624cfc8 100644 --- a/examples/compiled/rect_heatmap_weather.svg +++ b/examples/compiled/rect_heatmap_weather.svg @@ -1 +1 @@ -42762010 Daily Max Temperature (F) in Seattle, WA12345678910111213141516171819202122232425262728293031DayJanFebMarAprMayJunJulAugSepOctNovDecMonth \ No newline at end of file +536Daily Max Temperatures (C) in Seattle, WA12345678910111213141516171819202122232425262728293031DayJanFebMarAprMayJunJulAugSepOctNovDecMonth \ No newline at end of file diff --git a/examples/compiled/rect_heatmap_weather.vg.json b/examples/compiled/rect_heatmap_weather.vg.json index ea34e28d47..96c61dde40 100644 --- a/examples/compiled/rect_heatmap_weather.vg.json +++ b/examples/compiled/rect_heatmap_weather.vg.json @@ -3,15 +3,18 @@ "background": "white", "padding": 5, "title": { - "text": "2010 Daily Max Temperature (F) in Seattle, WA", + "text": "Daily Max Temperatures (C) in Seattle, WA", "frame": "group" }, "style": "cell", "data": [ { "name": "source_0", - "url": "data/seattle-temps.csv", - "format": {"type": "csv", "parse": {"date": "date", "temp": "number"}}, + "url": "data/seattle-weather.csv", + "format": { + "type": "csv", + "parse": {"date": "date", "temp_max": "number"} + }, "transform": [ { "field": "date", @@ -29,12 +32,12 @@ "type": "aggregate", "groupby": ["date_date", "month_date"], "ops": ["max"], - "fields": ["temp"], - "as": ["max_temp"] + "fields": ["temp_max"], + "as": ["max_temp_max"] }, { "type": "filter", - "expr": "isValid(datum[\"max_temp\"]) && isFinite(+datum[\"max_temp\"])" + "expr": "isValid(datum[\"max_temp_max\"]) && isFinite(+datum[\"max_temp_max\"])" } ] } @@ -53,9 +56,9 @@ "from": {"data": "source_0"}, "encode": { "update": { - "fill": {"scale": "color", "field": "max_temp"}, + "fill": {"scale": "color", "field": "max_temp_max"}, "description": { - "signal": "\"Day\" + \": \" + (timeFormat(datum[\"date_date\"], '%e')) + \"; \" + \"Month\" + \": \" + (timeFormat(datum[\"month_date\"], timeUnitSpecifier([\"month\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"}))) + \"; \" + \"Max of temp\" + \": \" + (format(datum[\"max_temp\"], \"\"))" + "signal": "\"Day\" + \": \" + (timeFormat(datum[\"date_date\"], '%e')) + \"; \" + \"Month\" + \": \" + (timeFormat(datum[\"month_date\"], timeUnitSpecifier([\"month\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"}))) + \"; \" + \"Max of temp_max\" + \": \" + (format(datum[\"max_temp_max\"], \"\"))" }, "x": {"scale": "x", "field": "date_date"}, "width": {"scale": "x", "band": 1}, @@ -85,7 +88,7 @@ { "name": "color", "type": "linear", - "domain": {"data": "source_0", "field": "max_temp"}, + "domain": {"data": "source_0", "field": "max_temp_max"}, "range": "heatmap", "interpolate": "hcl", "zero": false diff --git a/examples/specs/bar_yearmonth.vl.json b/examples/specs/bar_yearmonth.vl.json index 99e8097636..2949de2e57 100644 --- a/examples/specs/bar_yearmonth.vl.json +++ b/examples/specs/bar_yearmonth.vl.json @@ -1,12 +1,12 @@ { "$schema": "https://vega.github.io/schema/vega-lite/v4.json", "description": "Temperature in Seattle as a bar chart with yearmonth time unit.", - "data": {"url": "data/seattle-temps.csv"}, + "data": {"url": "data/seattle-weather.csv"}, "mark": "bar", "encoding": { "x": { "timeUnit": "yearmonth", "field": "date", "type": "temporal" }, - "y": {"aggregate": "mean", "field": "temp", "type": "quantitative"} + "y": {"aggregate": "mean", "field": "temp_max", "type": "quantitative"} } } diff --git a/examples/specs/bar_yearmonth_custom_format.vl.json b/examples/specs/bar_yearmonth_custom_format.vl.json index 574bd581a4..89ffdc95af 100644 --- a/examples/specs/bar_yearmonth_custom_format.vl.json +++ b/examples/specs/bar_yearmonth_custom_format.vl.json @@ -1,13 +1,13 @@ { "$schema": "https://vega.github.io/schema/vega-lite/v4.json", "description": "Custom time format on x-axis.", - "data": {"url": "data/seattle-temps.csv"}, + "data": {"url": "data/seattle-weather.csv"}, "mark": "bar", "encoding": { "x": { "timeUnit": "yearmonth", "field": "date", "type": "temporal", "axis": {"format": "%B of %Y"} }, - "y": {"aggregate": "mean", "field": "temp", "type": "quantitative"} + "y": {"aggregate": "mean", "field": "temp_max", "type": "quantitative"} } } diff --git a/examples/specs/line_month.vl.json b/examples/specs/line_month.vl.json index 89949ac530..60541adae3 100644 --- a/examples/specs/line_month.vl.json +++ b/examples/specs/line_month.vl.json @@ -1,6 +1,6 @@ { "$schema": "https://vega.github.io/schema/vega-lite/v4.json", - "data": {"url": "data/seattle-temps.csv"}, + "data": {"url": "data/seattle-weather.csv"}, "mark": { "type": "line", "interpolate": "monotone" @@ -9,6 +9,6 @@ "x": { "timeUnit": "month", "field": "date", "type": "temporal" }, - "y": {"aggregate": "mean", "field": "temp", "type": "quantitative"} + "y": {"aggregate": "mean", "field": "temp_max", "type": "quantitative"} } } diff --git a/examples/specs/line_month_center_band.vl.json b/examples/specs/line_month_center_band.vl.json index 5d3931902f..59f6bf0a07 100644 --- a/examples/specs/line_month_center_band.vl.json +++ b/examples/specs/line_month_center_band.vl.json @@ -1,7 +1,7 @@ { "$schema": "https://vega.github.io/schema/vega-lite/v4.json", "description": "Line with center band for timeUnit", - "data": {"url": "data/seattle-temps.csv"}, + "data": {"url": "data/seattle-weather.csv"}, "mark": { "type": "line", "interpolate": "monotone" @@ -10,6 +10,6 @@ "x": { "timeUnit": "month", "field": "date", "type": "temporal", "band": 0.5 }, - "y": {"aggregate": "mean", "field": "temp", "type": "quantitative"} + "y": {"aggregate": "mean", "field": "temp_max", "type": "quantitative"} } } diff --git a/examples/specs/point_dot_timeunit_color.vl.json b/examples/specs/point_dot_timeunit_color.vl.json index 8bb1b37f90..d50dce1121 100644 --- a/examples/specs/point_dot_timeunit_color.vl.json +++ b/examples/specs/point_dot_timeunit_color.vl.json @@ -1,11 +1,11 @@ { "$schema": "https://vega.github.io/schema/vega-lite/v4.json", - "data": {"url": "data/seattle-temps.csv"}, + "data": {"url": "data/seattle-weather.csv"}, "mark": "point", "encoding": { "color": { "timeUnit": "yearmonth", "field": "date", "type": "temporal" }, - "x": {"aggregate": "mean", "field": "temp", "type": "quantitative"} + "x": {"aggregate": "mean", "field": "temp_max", "type": "quantitative"} } } diff --git a/examples/specs/rect_heatmap_weather.vl.json b/examples/specs/rect_heatmap_weather.vl.json index 721849af17..0503a446d3 100644 --- a/examples/specs/rect_heatmap_weather.vl.json +++ b/examples/specs/rect_heatmap_weather.vl.json @@ -1,9 +1,9 @@ { "$schema": "https://vega.github.io/schema/vega-lite/v4.json", "data": { - "url": "data/seattle-temps.csv" + "url": "data/seattle-weather.csv" }, - "title": "2010 Daily Max Temperature (F) in Seattle, WA", + "title": "Daily Max Temperatures (C) in Seattle, WA", "config": { "view": { "strokeWidth": 0, @@ -32,7 +32,7 @@ "title": "Month" }, "color": { - "field": "temp", + "field": "temp_max", "aggregate": "max", "type": "quantitative", "legend": {