Skip to content

Commit

Permalink
[Travis] Update examples (build: 24615)
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis CI authored and domoritz committed Jul 25, 2019
1 parent 2fe10b2 commit 4ac9dac
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 49 deletions.
2 changes: 1 addition & 1 deletion examples/compiled/concat_population_pyramid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 40 additions & 41 deletions examples/compiled/concat_population_pyramid.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,16 @@
]
},
{
"name": "data_0",
"name": "data_1",
"source": "source_0",
"transform": [
{"type": "filter", "expr": "datum[\"gender\"]===\"Female\""},
{"type": "filter", "expr": "datum[\"gender\"]===\"Female\""}
]
},
{
"name": "data_2",
"source": "data_1",
"transform": [
{
"type": "aggregate",
"groupby": ["age", "gender"],
Expand All @@ -40,10 +46,14 @@
]
},
{
"name": "data_1",
"name": "data_3",
"source": "source_0",
"transform": [{"type": "filter", "expr": "datum[\"gender\"]===\"Male\""}]
},
{
"name": "data_4",
"source": "data_3",
"transform": [
{"type": "filter", "expr": "datum[\"gender\"]===\"Male\""},
{
"type": "aggregate",
"groupby": ["age", "gender"],
Expand Down Expand Up @@ -82,7 +92,7 @@
"update": "bandspace(domain('concat_2_y').length, 0.1, 0.05) * concat_2_y_step"
}
],
"layout": {"padding": 10, "bounds": "full", "align": "each"},
"layout": {"padding": 0, "bounds": "full", "align": "each"},
"marks": [
{
"type": "group",
Expand All @@ -100,7 +110,7 @@
"name": "concat_0_marks",
"type": "rect",
"style": ["bar"],
"from": {"data": "data_0"},
"from": {"data": "data_2"},
"encode": {
"update": {
"fill": {"scale": "color", "field": "gender"},
Expand All @@ -113,24 +123,12 @@
}
],
"axes": [
{
"scale": "concat_0_x",
"orient": "bottom",
"gridScale": "concat_0_y",
"grid": true,
"tickCount": {"signal": "ceil(concat_0_width/40)"},
"domain": false,
"labels": false,
"maxExtent": 0,
"minExtent": 0,
"ticks": false,
"zindex": 0
},
{
"scale": "concat_0_x",
"orient": "bottom",
"grid": false,
"title": "population",
"format": "s",
"labelFlush": true,
"labelOverlap": true,
"tickCount": {"signal": "ceil(concat_0_width/40)"},
Expand Down Expand Up @@ -184,7 +182,7 @@
"name": "concat_2_marks",
"type": "rect",
"style": ["bar"],
"from": {"data": "data_1"},
"from": {"data": "data_4"},
"encode": {
"update": {
"fill": {"scale": "color", "field": "gender"},
Expand All @@ -197,24 +195,12 @@
}
],
"axes": [
{
"scale": "concat_2_x",
"orient": "bottom",
"gridScale": "concat_2_y",
"grid": true,
"tickCount": {"signal": "ceil(concat_2_width/40)"},
"domain": false,
"labels": false,
"maxExtent": 0,
"minExtent": 0,
"ticks": false,
"zindex": 0
},
{
"scale": "concat_2_x",
"orient": "bottom",
"grid": false,
"title": "population",
"format": "s",
"labelFlush": true,
"labelOverlap": true,
"tickCount": {"signal": "ceil(concat_2_width/40)"},
Expand All @@ -229,8 +215,8 @@
"type": "ordinal",
"domain": {
"fields": [
{"data": "data_0", "field": "gender"},
{"data": "data_1", "field": "gender"}
{"data": "data_2", "field": "gender"},
{"data": "data_4", "field": "gender"}
],
"sort": true
},
Expand All @@ -240,7 +226,7 @@
"name": "concat_0_x",
"type": "linear",
"domain": {
"data": "data_0",
"data": "data_2",
"fields": ["sum_people_start", "sum_people_end"]
},
"range": [0, {"signal": "concat_0_width"}],
Expand All @@ -251,23 +237,31 @@
{
"name": "concat_0_y",
"type": "band",
"domain": {"data": "data_0", "field": "age", "sort": true},
"domain": {
"data": "data_1",
"field": "age",
"sort": {"op": "min", "field": "age", "order": "descending"}
},
"range": {"step": {"signal": "concat_0_y_step"}},
"paddingInner": 0.1,
"paddingOuter": 0.05
},
{
"name": "concat_1_y",
"type": "point",
"domain": {"data": "source_0", "field": "age", "sort": true},
"domain": {
"data": "source_0",
"field": "age",
"sort": {"op": "min", "field": "age", "order": "descending"}
},
"range": {"step": {"signal": "concat_1_y_step"}},
"padding": 0.5
},
{
"name": "concat_2_x",
"type": "linear",
"domain": {
"data": "data_1",
"data": "data_4",
"fields": ["sum_people_start", "sum_people_end"]
},
"range": [0, {"signal": "concat_2_width"}],
Expand All @@ -277,10 +271,15 @@
{
"name": "concat_2_y",
"type": "band",
"domain": {"data": "data_1", "field": "age", "sort": true},
"domain": {
"data": "data_3",
"field": "age",
"sort": {"op": "min", "field": "age", "order": "descending"}
},
"range": {"step": {"signal": "concat_2_y_step"}},
"paddingInner": 0.1,
"paddingOuter": 0.05
}
]
],
"config": {"axis": {"grid": false}, "style": {"cell": {"stroke": null}}}
}
2 changes: 1 addition & 1 deletion examples/compiled/interactive_multi_line_label.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/compiled/layer_falkensee.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/compiled/layer_line_color_rule.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/compiled/rule_color_mean.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/compiled/text_scatterplot_colored.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/compiled/trail_color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4ac9dac

Please sign in to comment.