Dataset Viewer
image
imagewidth (px) 210
4.9k
| file_number
int64 0
1.37k
| source_code
stringlengths 585
1.07k
| provenance
stringlengths 5
321
| is_consistent
bool 2
classes | CHANNEL_FIELD_SWAP
bool 2
classes | CHANNEL_FIELD_SHIFT
bool 2
classes | XY_SAME_QUANTITATIVE
bool 1
class | XY_SAME_NOMINAL
bool 1
class | XY_MEASURE_NAMES
bool 1
class | COLOR_SAME_QUANTITATIVE
bool 1
class | COLOR_DIFF_QUANTITATIVE
bool 1
class | COLOR_SAME_NOMINAL
bool 1
class | COLOR_DIFF_NOMINAL
bool 2
classes | COLOR_NOMINAL_VS_QUANTITATIVE
bool 1
class | COLOR_CONSTANT_VS_NOMINAL
bool 2
classes | COLOR_CONSTANT_VS_QUANTITATIVE
bool 1
class | SIZE_SAME_QUANTITATIVE
bool 1
class | SIZE_NO_DIFF
bool 2
classes | SHAPE_SAME_NOMINAL
bool 1
class | SHAPE_DIFF_NOMINAL
bool 1
class | SHAPE_CONSTANT
bool 1
class | parent_id
stringlengths 0
727
| seed_data_file
stringclasses 3
values | source_code_vg
stringlengths 1.45k
6.31k
| train_val_test
stringclasses 3
values |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/717fe6d266ebe7958773121d66f2edb5/raw/02630cf1a4787236f24317cb92456839735383e9/birdstrikes.json", "format": {"type":"json"}},"mark":"point","encoding":{"y":{"field":"Airport__Name","type":"nominal","scale":{"rangeStep":12}},"x":{"field":"When__Phase_of_flight","type":"nominal","axis":{"orient":"top"}},"color":{"field":"Wildlife__Size","type":"nominal"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/717fe6d266ebe7958773121d66f2edb5/raw/02630cf1a4787236f24317cb92456839735383e9/birdstrikes.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Flight_Date","type":"temporal","scale":{},"axis":{"orient":"top"}},"y":{"field":"Wildlife__Species","type":"nominal","scale":{"rangeStep":12}},"color":{"field":"When__Time_of_day","type":"nominal"},"row":{"field":"When__Phase_of_flight","type":"nominal"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start | false | false | false | false | false | false | false | false | false | true | false | false | false | false | false | false | false | false | birdStrike.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/717fe6d266ebe7958773121d66f2edb5/raw/02630cf1a4787236f24317cb92456839735383e9/birdstrikes.json', 'format': {'type': 'json', 'parse': {'Flight_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Flight_Date"]) || (isValid(datum["Flight_Date"]) && isFinite(+datum["Flight_Date"])))'}]}, {'name': 'concat_1_row_domain', 'source': 'data_0', 'transform': [{'type': 'aggregate', 'groupby': ['When__Phase_of_flight']}]}], 'signals': [{'name': 'concat_0_x_step', 'value': 20}, {'name': 'concat_0_width', 'update': "bandspace(domain('concat_0_x').length, 1, 0.5) * concat_0_x_step"}, {'name': 'concat_0_y_step', 'value': 20}, {'name': 'concat_0_height', 'update': "bandspace(domain('concat_0_y').length, 1, 0.5) * concat_0_y_step"}, {'name': 'concat_1_child_width', 'value': 200}, {'name': 'concat_1_y_step', 'value': 20}, {'name': 'concat_1_child_height', 'update': "bandspace(domain('concat_1_y').length, 1, 0.5) * concat_1_y_step"}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_0_width'}, 'height': {'signal': 'concat_0_height'}}}, 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'source_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'scale': 'color', 'field': 'Wildlife__Size'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"When__Phase_of_flight: " + (isValid(datum["When__Phase_of_flight"]) ? datum["When__Phase_of_flight"] : ""+datum["When__Phase_of_flight"]) + "; Airport__Name: " + (isValid(datum["Airport__Name"]) ? datum["Airport__Name"] : ""+datum["Airport__Name"]) + "; Wildlife__Size: " + (isValid(datum["Wildlife__Size"]) ? datum["Wildlife__Size"] : ""+datum["Wildlife__Size"])'}, 'x': {'scale': 'concat_0_x', 'field': 'When__Phase_of_flight'}, 'y': {'scale': 'concat_0_y', 'field': 'Airport__Name'}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'top', 'grid': False, 'title': 'When__Phase_of_flight', 'labelAlign': 'left', 'labelAngle': 270, 'labelBaseline': 'middle', 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'grid': False, 'title': 'Airport__Name', 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'layout': {'padding': 20, 'offset': {'rowTitle': 10}, 'columns': 1, 'bounds': 'full', 'align': 'all'}, 'marks': [{'name': 'row-title', 'type': 'group', 'role': 'row-title', 'title': {'text': 'When__Phase_of_flight', 'orient': 'left', 'style': 'guide-title', 'offset': 10}}, {'name': 'concat_1_row_header', 'type': 'group', 'role': 'row-header', 'from': {'data': 'concat_1_row_domain'}, 'sort': {'field': 'datum["When__Phase_of_flight"]', 'order': 'ascending'}, 'title': {'text': {'signal': 'isValid(parent["When__Phase_of_flight"]) ? parent["When__Phase_of_flight"] : ""+parent["When__Phase_of_flight"]'}, 'orient': 'left', 'style': 'guide-label', 'frame': 'group', 'offset': 10}, 'encode': {'update': {'height': {'signal': 'concat_1_child_height'}}}, 'axes': [{'scale': 'concat_1_y', 'orient': 'left', 'grid': False, 'title': 'Wildlife__Species', 'zindex': 0}]}, {'name': 'concat_1_column_header', 'type': 'group', 'role': 'column-header', 'encode': {'update': {'width': {'signal': 'concat_1_child_width'}}}, 'axes': [{'scale': 'concat_1_x', 'orient': 'top', 'grid': False, 'title': 'Flight_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_1_child_width/40)'}, 'zindex': 0}]}, {'name': 'concat_1_cell', 'type': 'group', 'style': 'cell', 'from': {'facet': {'name': 'concat_1_facet', 'data': 'data_0', 'groupby': ['When__Phase_of_flight']}}, 'sort': {'field': ['datum["When__Phase_of_flight"]'], 'order': ['ascending']}, 'encode': {'update': {'width': {'signal': 'concat_1_child_width'}, 'height': {'signal': 'concat_1_child_height'}}}, 'marks': [{'name': 'concat_1_child_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'concat_1_facet'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'scale': 'color', 'field': 'When__Time_of_day'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Flight_Date: " + (timeFormat(datum["Flight_Date"], \'%b %d, %Y\')) + "; Wildlife__Species: " + (isValid(datum["Wildlife__Species"]) ? datum["Wildlife__Species"] : ""+datum["Wildlife__Species"]) + "; When__Time_of_day: " + (isValid(datum["When__Time_of_day"]) ? datum["When__Time_of_day"] : ""+datum["When__Time_of_day"])'}, 'x': {'scale': 'concat_1_x', 'field': 'Flight_Date'}, 'y': {'scale': 'concat_1_y', 'field': 'Wildlife__Species'}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'top', 'gridScale': 'concat_1_y', 'grid': True, 'tickCount': {'signal': 'ceil(concat_1_child_width/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}]}]}], 'scales': [{'name': 'color', 'type': 'ordinal', 'domain': {'fields': [{'data': 'source_0', 'field': 'Wildlife__Size'}, {'data': 'data_0', 'field': 'When__Time_of_day'}], 'sort': True}, 'range': 'category'}, {'name': 'concat_0_x', 'type': 'point', 'domain': {'data': 'source_0', 'field': 'When__Phase_of_flight', 'sort': True}, 'range': {'step': {'signal': 'concat_0_x_step'}}, 'padding': 0.5}, {'name': 'concat_0_y', 'type': 'point', 'domain': {'data': 'source_0', 'field': 'Airport__Name', 'sort': True}, 'range': {'step': {'signal': 'concat_0_y_step'}}, 'padding': 0.5}, {'name': 'concat_1_x', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Flight_Date'}, 'range': [0, {'signal': 'concat_1_child_width'}]}, {'name': 'concat_1_y', 'type': 'point', 'domain': {'data': 'data_0', 'field': 'Wildlife__Species', 'sort': True}, 'range': {'step': {'signal': 'concat_1_y_step'}}, 'padding': 0.5}], 'legends': [{'stroke': 'color', 'symbolType': 'circle', 'title': 'Wildlife__Size, When__Time_of_day', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'opacity': {'value': 0.7}}}}}]} | train |
||
1 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/717fe6d266ebe7958773121d66f2edb5/raw/02630cf1a4787236f24317cb92456839735383e9/birdstrikes.json", "format": {"type":"json"}},"mark":"point","encoding":{"y":{"field":"Airport__Name","type":"nominal","scale":{"rangeStep":12}},"x":{"field":"When__Phase_of_flight","type":"nominal","axis":{"orient":"top"}},"color":{"field":"Wildlife__Size","type":"nominal"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/717fe6d266ebe7958773121d66f2edb5/raw/02630cf1a4787236f24317cb92456839735383e9/birdstrikes.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Wildlife__Species","type":"nominal","scale":{"rangeStep":12}},"y":{"field":"Flight_Date","type":"temporal","scale":{},"axis":{"orient":"top"}},"color":{"field":"When__Time_of_day","type":"nominal"},"row":{"field":"When__Phase_of_flight","type":"nominal"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_TRANSPOSE_1 | false | false | false | false | false | false | false | false | false | true | false | false | false | false | false | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"y":{"field":"Airport__Name","type":"nominal","scale":{"rangeStep":12}},"x":{"field":"When__Phase_of_flight","type":"nominal","axis":{"orient":"top"}},"color":{"field":"Wildlife__Size","type":"nominal"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Flight_Date","type":"temporal","scale":{},"axis":{"orient":"top"}},"y":{"field":"Wildlife__Species","type":"nominal","scale":{"rangeStep":12}},"color":{"field":"When__Time_of_day","type":"nominal"},"row":{"field":"When__Phase_of_flight","type":"nominal"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | birdStrike.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/717fe6d266ebe7958773121d66f2edb5/raw/02630cf1a4787236f24317cb92456839735383e9/birdstrikes.json', 'format': {'type': 'json', 'parse': {'Flight_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Flight_Date"]) || (isValid(datum["Flight_Date"]) && isFinite(+datum["Flight_Date"])))'}]}, {'name': 'concat_1_row_domain', 'source': 'data_0', 'transform': [{'type': 'aggregate', 'groupby': ['When__Phase_of_flight']}]}], 'signals': [{'name': 'concat_0_x_step', 'value': 20}, {'name': 'concat_0_width', 'update': "bandspace(domain('concat_0_x').length, 1, 0.5) * concat_0_x_step"}, {'name': 'concat_0_y_step', 'value': 20}, {'name': 'concat_0_height', 'update': "bandspace(domain('concat_0_y').length, 1, 0.5) * concat_0_y_step"}, {'name': 'concat_1_x_step', 'value': 20}, {'name': 'concat_1_child_width', 'update': "bandspace(domain('concat_1_x').length, 1, 0.5) * concat_1_x_step"}, {'name': 'concat_1_child_height', 'value': 200}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_0_width'}, 'height': {'signal': 'concat_0_height'}}}, 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'source_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'scale': 'color', 'field': 'Wildlife__Size'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"When__Phase_of_flight: " + (isValid(datum["When__Phase_of_flight"]) ? datum["When__Phase_of_flight"] : ""+datum["When__Phase_of_flight"]) + "; Airport__Name: " + (isValid(datum["Airport__Name"]) ? datum["Airport__Name"] : ""+datum["Airport__Name"]) + "; Wildlife__Size: " + (isValid(datum["Wildlife__Size"]) ? datum["Wildlife__Size"] : ""+datum["Wildlife__Size"])'}, 'x': {'scale': 'concat_0_x', 'field': 'When__Phase_of_flight'}, 'y': {'scale': 'concat_0_y', 'field': 'Airport__Name'}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'top', 'grid': False, 'title': 'When__Phase_of_flight', 'labelAlign': 'left', 'labelAngle': 270, 'labelBaseline': 'middle', 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'grid': False, 'title': 'Airport__Name', 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'layout': {'padding': 20, 'offset': {'rowTitle': 10}, 'columns': 1, 'bounds': 'full', 'align': 'all'}, 'marks': [{'name': 'row-title', 'type': 'group', 'role': 'row-title', 'title': {'text': 'When__Phase_of_flight', 'orient': 'left', 'style': 'guide-title', 'offset': 10}}, {'name': 'concat_1_row_header', 'type': 'group', 'role': 'row-header', 'from': {'data': 'concat_1_row_domain'}, 'sort': {'field': 'datum["When__Phase_of_flight"]', 'order': 'ascending'}, 'title': {'text': {'signal': 'isValid(parent["When__Phase_of_flight"]) ? parent["When__Phase_of_flight"] : ""+parent["When__Phase_of_flight"]'}, 'orient': 'left', 'style': 'guide-label', 'frame': 'group', 'offset': 10}, 'encode': {'update': {'height': {'signal': 'concat_1_child_height'}}}, 'axes': [{'scale': 'concat_1_y', 'orient': 'top', 'grid': False, 'title': 'Flight_Date', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_1_child_height/40)'}, 'zindex': 0}]}, {'name': 'concat_1_column_footer', 'type': 'group', 'role': 'column-footer', 'encode': {'update': {'width': {'signal': 'concat_1_child_width'}}}, 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'Wildlife__Species', 'labelAlign': 'right', 'labelAngle': 270, 'labelBaseline': 'middle', 'zindex': 0}]}, {'name': 'concat_1_cell', 'type': 'group', 'style': 'cell', 'from': {'facet': {'name': 'concat_1_facet', 'data': 'data_0', 'groupby': ['When__Phase_of_flight']}}, 'sort': {'field': ['datum["When__Phase_of_flight"]'], 'order': ['ascending']}, 'encode': {'update': {'width': {'signal': 'concat_1_child_width'}, 'height': {'signal': 'concat_1_child_height'}}}, 'marks': [{'name': 'concat_1_child_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'concat_1_facet'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'scale': 'color', 'field': 'When__Time_of_day'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Wildlife__Species: " + (isValid(datum["Wildlife__Species"]) ? datum["Wildlife__Species"] : ""+datum["Wildlife__Species"]) + "; Flight_Date: " + (timeFormat(datum["Flight_Date"], \'%b %d, %Y\')) + "; When__Time_of_day: " + (isValid(datum["When__Time_of_day"]) ? datum["When__Time_of_day"] : ""+datum["When__Time_of_day"])'}, 'x': {'scale': 'concat_1_x', 'field': 'Wildlife__Species'}, 'y': {'scale': 'concat_1_y', 'field': 'Flight_Date'}}}}], 'axes': [{'scale': 'concat_1_y', 'orient': 'top', 'gridScale': 'concat_1_x', 'grid': True, 'tickCount': {'signal': 'ceil(concat_1_child_height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}]}]}], 'scales': [{'name': 'color', 'type': 'ordinal', 'domain': {'fields': [{'data': 'source_0', 'field': 'Wildlife__Size'}, {'data': 'data_0', 'field': 'When__Time_of_day'}], 'sort': True}, 'range': 'category'}, {'name': 'concat_0_x', 'type': 'point', 'domain': {'data': 'source_0', 'field': 'When__Phase_of_flight', 'sort': True}, 'range': {'step': {'signal': 'concat_0_x_step'}}, 'padding': 0.5}, {'name': 'concat_0_y', 'type': 'point', 'domain': {'data': 'source_0', 'field': 'Airport__Name', 'sort': True}, 'range': {'step': {'signal': 'concat_0_y_step'}}, 'padding': 0.5}, {'name': 'concat_1_x', 'type': 'point', 'domain': {'data': 'data_0', 'field': 'Wildlife__Species', 'sort': True}, 'range': {'step': {'signal': 'concat_1_x_step'}}, 'padding': 0.5}, {'name': 'concat_1_y', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Flight_Date'}, 'range': [{'signal': 'concat_1_child_height'}, 0]}], 'legends': [{'stroke': 'color', 'symbolType': 'circle', 'title': 'Wildlife__Size, When__Time_of_day', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'opacity': {'value': 0.7}}}}}]} | validation |
|
10 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/717fe6d266ebe7958773121d66f2edb5/raw/02630cf1a4787236f24317cb92456839735383e9/birdstrikes.json", "format": {"type":"json"}},"mark":"point","encoding":{"color":{"field":"Wildlife__Size","type":"nominal"},"x":{"field":"Airport__Name","type":"nominal","scale":{"rangeStep":12}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/717fe6d266ebe7958773121d66f2edb5/raw/02630cf1a4787236f24317cb92456839735383e9/birdstrikes.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Flight_Date","type":"temporal","scale":{},"axis":{"orient":"top"}},"y":{"field":"Wildlife__Species","type":"nominal","scale":{"rangeStep":12}},"color":{"field":"When__Time_of_day","type":"nominal"},"row":{"field":"When__Phase_of_flight","type":"nominal"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_REMOVE_FIELD_xWhen__Phase_of_flight,REVISION_STEP_TRANSPOSE_0 | false | false | false | false | false | false | false | false | false | true | false | false | false | false | false | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"y":{"field":"Airport__Name","type":"nominal","scale":{"rangeStep":12}},"color":{"field":"Wildlife__Size","type":"nominal"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Flight_Date","type":"temporal","scale":{},"axis":{"orient":"top"}},"y":{"field":"Wildlife__Species","type":"nominal","scale":{"rangeStep":12}},"color":{"field":"When__Time_of_day","type":"nominal"},"row":{"field":"When__Phase_of_flight","type":"nominal"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | birdStrike.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/717fe6d266ebe7958773121d66f2edb5/raw/02630cf1a4787236f24317cb92456839735383e9/birdstrikes.json', 'format': {'type': 'json', 'parse': {'Flight_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Flight_Date"]) || (isValid(datum["Flight_Date"]) && isFinite(+datum["Flight_Date"])))'}]}, {'name': 'concat_1_row_domain', 'source': 'data_0', 'transform': [{'type': 'aggregate', 'groupby': ['When__Phase_of_flight']}]}], 'signals': [{'name': 'concat_0_x_step', 'value': 20}, {'name': 'concat_0_width', 'update': "bandspace(domain('concat_0_x').length, 1, 0.5) * concat_0_x_step"}, {'name': 'concat_0_height', 'value': 20}, {'name': 'concat_1_child_width', 'value': 200}, {'name': 'concat_1_y_step', 'value': 20}, {'name': 'concat_1_child_height', 'update': "bandspace(domain('concat_1_y').length, 1, 0.5) * concat_1_y_step"}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_0_width'}, 'height': {'signal': 'concat_0_height'}}}, 'signals': [{'name': 'height', 'update': 'concat_0_height'}], 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'source_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'scale': 'color', 'field': 'Wildlife__Size'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Airport__Name: " + (isValid(datum["Airport__Name"]) ? datum["Airport__Name"] : ""+datum["Airport__Name"]) + "; Wildlife__Size: " + (isValid(datum["Wildlife__Size"]) ? datum["Wildlife__Size"] : ""+datum["Wildlife__Size"])'}, 'x': {'scale': 'concat_0_x', 'field': 'Airport__Name'}, 'y': {'signal': 'concat_0_height', 'mult': 0.5}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'bottom', 'grid': False, 'title': 'Airport__Name', 'labelAlign': 'right', 'labelAngle': 270, 'labelBaseline': 'middle', 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'layout': {'padding': 20, 'offset': {'rowTitle': 10}, 'columns': 1, 'bounds': 'full', 'align': 'all'}, 'marks': [{'name': 'row-title', 'type': 'group', 'role': 'row-title', 'title': {'text': 'When__Phase_of_flight', 'orient': 'left', 'style': 'guide-title', 'offset': 10}}, {'name': 'concat_1_row_header', 'type': 'group', 'role': 'row-header', 'from': {'data': 'concat_1_row_domain'}, 'sort': {'field': 'datum["When__Phase_of_flight"]', 'order': 'ascending'}, 'title': {'text': {'signal': 'isValid(parent["When__Phase_of_flight"]) ? parent["When__Phase_of_flight"] : ""+parent["When__Phase_of_flight"]'}, 'orient': 'left', 'style': 'guide-label', 'frame': 'group', 'offset': 10}, 'encode': {'update': {'height': {'signal': 'concat_1_child_height'}}}, 'axes': [{'scale': 'concat_1_y', 'orient': 'left', 'grid': False, 'title': 'Wildlife__Species', 'zindex': 0}]}, {'name': 'concat_1_column_header', 'type': 'group', 'role': 'column-header', 'encode': {'update': {'width': {'signal': 'concat_1_child_width'}}}, 'axes': [{'scale': 'concat_1_x', 'orient': 'top', 'grid': False, 'title': 'Flight_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_1_child_width/40)'}, 'zindex': 0}]}, {'name': 'concat_1_cell', 'type': 'group', 'style': 'cell', 'from': {'facet': {'name': 'concat_1_facet', 'data': 'data_0', 'groupby': ['When__Phase_of_flight']}}, 'sort': {'field': ['datum["When__Phase_of_flight"]'], 'order': ['ascending']}, 'encode': {'update': {'width': {'signal': 'concat_1_child_width'}, 'height': {'signal': 'concat_1_child_height'}}}, 'marks': [{'name': 'concat_1_child_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'concat_1_facet'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'scale': 'color', 'field': 'When__Time_of_day'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Flight_Date: " + (timeFormat(datum["Flight_Date"], \'%b %d, %Y\')) + "; Wildlife__Species: " + (isValid(datum["Wildlife__Species"]) ? datum["Wildlife__Species"] : ""+datum["Wildlife__Species"]) + "; When__Time_of_day: " + (isValid(datum["When__Time_of_day"]) ? datum["When__Time_of_day"] : ""+datum["When__Time_of_day"])'}, 'x': {'scale': 'concat_1_x', 'field': 'Flight_Date'}, 'y': {'scale': 'concat_1_y', 'field': 'Wildlife__Species'}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'top', 'gridScale': 'concat_1_y', 'grid': True, 'tickCount': {'signal': 'ceil(concat_1_child_width/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}]}]}], 'scales': [{'name': 'color', 'type': 'ordinal', 'domain': {'fields': [{'data': 'source_0', 'field': 'Wildlife__Size'}, {'data': 'data_0', 'field': 'When__Time_of_day'}], 'sort': True}, 'range': 'category'}, {'name': 'concat_0_x', 'type': 'point', 'domain': {'data': 'source_0', 'field': 'Airport__Name', 'sort': True}, 'range': {'step': {'signal': 'concat_0_x_step'}}, 'padding': 0.5}, {'name': 'concat_1_x', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Flight_Date'}, 'range': [0, {'signal': 'concat_1_child_width'}]}, {'name': 'concat_1_y', 'type': 'point', 'domain': {'data': 'data_0', 'field': 'Wildlife__Species', 'sort': True}, 'range': {'step': {'signal': 'concat_1_y_step'}}, 'padding': 0.5}], 'legends': [{'stroke': 'color', 'symbolType': 'circle', 'title': 'Wildlife__Size, When__Time_of_day', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'opacity': {'value': 0.7}}}}}]} | test |
|
100 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/717fe6d266ebe7958773121d66f2edb5/raw/02630cf1a4787236f24317cb92456839735383e9/birdstrikes.json", "format": {"type":"json"}},"mark":"point","encoding":{"y":{"field":"Airport__Name","type":"nominal","scale":{"rangeStep":12}},"x":{"field":"When__Phase_of_flight","type":"nominal","axis":{"orient":"top"}},"color":{"field":"Wildlife__Size","type":"nominal"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/717fe6d266ebe7958773121d66f2edb5/raw/02630cf1a4787236f24317cb92456839735383e9/birdstrikes.json", "format": {"type":"json"}},"mark":"point","encoding":{"row":{"field":"When__Phase_of_flight","type":"nominal"},"color":{"value":"#4c78a8"},"y":{"field":"Flight_Date","type":"temporal","scale":{},"axis":{"orient":"top"}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_REMOVE_FIELD_colorWhen__Time_of_day,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#4c78a8,REVISION_STEP_REMOVE_FIELD_yWildlife__Species,REVISION_STEP_TRANSPOSE_1 | false | false | false | false | false | false | false | false | false | false | false | true | false | false | false | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"y":{"field":"Airport__Name","type":"nominal","scale":{"rangeStep":12}},"x":{"field":"When__Phase_of_flight","type":"nominal","axis":{"orient":"top"}},"color":{"field":"Wildlife__Size","type":"nominal"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Flight_Date","type":"temporal","scale":{},"axis":{"orient":"top"}},"row":{"field":"When__Phase_of_flight","type":"nominal"},"color":{"value":"#4c78a8"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | birdStrike.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/717fe6d266ebe7958773121d66f2edb5/raw/02630cf1a4787236f24317cb92456839735383e9/birdstrikes.json', 'format': {'type': 'json', 'parse': {'Flight_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Flight_Date"]) || (isValid(datum["Flight_Date"]) && isFinite(+datum["Flight_Date"])))'}]}, {'name': 'concat_1_row_domain', 'source': 'data_0', 'transform': [{'type': 'aggregate', 'groupby': ['When__Phase_of_flight']}]}], 'signals': [{'name': 'concat_0_x_step', 'value': 20}, {'name': 'concat_0_width', 'update': "bandspace(domain('concat_0_x').length, 1, 0.5) * concat_0_x_step"}, {'name': 'concat_0_y_step', 'value': 20}, {'name': 'concat_0_height', 'update': "bandspace(domain('concat_0_y').length, 1, 0.5) * concat_0_y_step"}, {'name': 'concat_1_child_width', 'value': 20}, {'name': 'concat_1_child_height', 'value': 200}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_0_width'}, 'height': {'signal': 'concat_0_height'}}}, 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'source_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'scale': 'color', 'field': 'Wildlife__Size'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"When__Phase_of_flight: " + (isValid(datum["When__Phase_of_flight"]) ? datum["When__Phase_of_flight"] : ""+datum["When__Phase_of_flight"]) + "; Airport__Name: " + (isValid(datum["Airport__Name"]) ? datum["Airport__Name"] : ""+datum["Airport__Name"]) + "; Wildlife__Size: " + (isValid(datum["Wildlife__Size"]) ? datum["Wildlife__Size"] : ""+datum["Wildlife__Size"])'}, 'x': {'scale': 'concat_0_x', 'field': 'When__Phase_of_flight'}, 'y': {'scale': 'concat_0_y', 'field': 'Airport__Name'}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'top', 'grid': False, 'title': 'When__Phase_of_flight', 'labelAlign': 'left', 'labelAngle': 270, 'labelBaseline': 'middle', 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'grid': False, 'title': 'Airport__Name', 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'layout': {'padding': 20, 'offset': {'rowTitle': 10}, 'columns': 1, 'bounds': 'full', 'align': 'all'}, 'marks': [{'name': 'row-title', 'type': 'group', 'role': 'row-title', 'title': {'text': 'When__Phase_of_flight', 'orient': 'left', 'style': 'guide-title', 'offset': 10}}, {'name': 'concat_1_row_header', 'type': 'group', 'role': 'row-header', 'from': {'data': 'concat_1_row_domain'}, 'sort': {'field': 'datum["When__Phase_of_flight"]', 'order': 'ascending'}, 'title': {'text': {'signal': 'isValid(parent["When__Phase_of_flight"]) ? parent["When__Phase_of_flight"] : ""+parent["When__Phase_of_flight"]'}, 'orient': 'left', 'style': 'guide-label', 'frame': 'group', 'offset': 10}, 'encode': {'update': {'height': {'signal': 'concat_1_child_height'}}}, 'axes': [{'scale': 'concat_1_y', 'orient': 'top', 'grid': False, 'title': 'Flight_Date', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_1_child_height/40)'}, 'zindex': 0}]}, {'name': 'concat_1_cell', 'type': 'group', 'style': 'cell', 'from': {'facet': {'name': 'concat_1_facet', 'data': 'data_0', 'groupby': ['When__Phase_of_flight']}}, 'sort': {'field': ['datum["When__Phase_of_flight"]'], 'order': ['ascending']}, 'encode': {'update': {'width': {'signal': 'concat_1_child_width'}, 'height': {'signal': 'concat_1_child_height'}}}, 'signals': [{'name': 'width', 'update': 'concat_1_child_width'}], 'marks': [{'name': 'concat_1_child_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'concat_1_facet'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Flight_Date: " + (timeFormat(datum["Flight_Date"], \'%b %d, %Y\'))'}, 'x': {'signal': 'concat_1_child_width', 'mult': 0.5}, 'y': {'scale': 'concat_1_y', 'field': 'Flight_Date'}}}}], 'axes': [{'scale': 'concat_1_y', 'orient': 'top', 'grid': True, 'tickCount': {'signal': 'ceil(concat_1_child_height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}]}]}], 'scales': [{'name': 'color', 'type': 'ordinal', 'domain': {'data': 'source_0', 'field': 'Wildlife__Size', 'sort': True}, 'range': 'category'}, {'name': 'concat_0_x', 'type': 'point', 'domain': {'data': 'source_0', 'field': 'When__Phase_of_flight', 'sort': True}, 'range': {'step': {'signal': 'concat_0_x_step'}}, 'padding': 0.5}, {'name': 'concat_0_y', 'type': 'point', 'domain': {'data': 'source_0', 'field': 'Airport__Name', 'sort': True}, 'range': {'step': {'signal': 'concat_0_y_step'}}, 'padding': 0.5}, {'name': 'concat_1_y', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Flight_Date'}, 'range': [{'signal': 'concat_1_child_height'}, 0]}], 'legends': [{'stroke': 'color', 'symbolType': 'circle', 'title': 'Wildlife__Size', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'opacity': {'value': 0.7}}}}}]} | train |
|
1,000 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Votes","type":"quantitative","scale":{}},"color":{"value":"#4c78a8"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#4c78a8"},"x":{"field":"IMDB_Rating","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#4c78a8,REVISION_STEP_REMOVE_FIELD_xRelease_Date,REVISION_STEP_TRANSPOSE_1,REVISION_STEP_REMOVE_FIELD_sizeRotten_Tomatoes_Rating | false | false | true | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Votes","type":"quantitative","scale":{}},"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#4c78a8"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#4c78a8"},"x":{"field":"IMDB_Rating","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': 'isValid(datum["IMDB_Rating"]) && isFinite(+datum["IMDB_Rating"]) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}], 'signals': [{'name': 'childWidth', 'value': 200}, {'name': 'concat_0_height', 'value': 200}, {'name': 'concat_1_height', 'value': 20}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'concat_0_height'}}}, 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'scale': 'concat_0_x', 'field': 'Release_Date'}, 'y': {'scale': 'concat_0_y', 'field': 'IMDB_Votes'}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'bottom', 'gridScale': 'concat_0_y', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'gridScale': 'concat_0_x', 'grid': True, 'tickCount': {'signal': 'ceil(concat_0_height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'grid': False, 'title': 'IMDB_Votes', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_0_height/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'concat_1_height'}}}, 'signals': [{'name': 'height', 'update': 'concat_1_height'}], 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"IMDB_Rating: " + (format(datum["IMDB_Rating"], "")) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'scale': 'concat_1_x', 'field': 'IMDB_Rating'}, 'y': {'signal': 'concat_1_height', 'mult': 0.5}, 'size': {'scale': 'size', 'field': 'IMDB_Votes'}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'IMDB_Rating', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Votes'}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_x', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Release_Date'}, 'range': [0, {'signal': 'childWidth'}]}, {'name': 'concat_0_y', 'type': 'linear', 'domain': {'data': 'data_0', 'field': 'IMDB_Votes'}, 'range': [{'signal': 'concat_0_height'}, 0], 'nice': True, 'zero': True}, {'name': 'concat_1_x', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Rating'}, 'range': [0, {'signal': 'childWidth'}], 'nice': True, 'zero': True}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'IMDB_Votes', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'opacity': {'value': 0.7}}}}}]} | test |
|
1,001 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#4c78a8"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#4c78a8"},"x":{"field":"IMDB_Rating","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#4c78a8,REVISION_STEP_REMOVE_FIELD_xRelease_Date,REVISION_STEP_TRANSPOSE_1,REVISION_STEP_REMOVE_FIELD_yIMDB_Votes | false | false | false | false | false | false | false | false | false | false | false | false | false | false | true | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Votes","type":"quantitative","scale":{}},"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#4c78a8"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#4c78a8"},"x":{"field":"IMDB_Rating","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'height': 20, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["Rotten_Tomatoes_Rating"]) && isFinite(+datum["Rotten_Tomatoes_Rating"])'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': 'isValid(datum["IMDB_Rating"]) && isFinite(+datum["IMDB_Rating"]) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}], 'signals': [{'name': 'childWidth', 'value': 200}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'height'}}}, 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; Rotten_Tomatoes_Rating: " + (format(datum["Rotten_Tomatoes_Rating"], ""))'}, 'x': {'scale': 'concat_0_x', 'field': 'Release_Date'}, 'y': {'signal': 'height', 'mult': 0.5}, 'size': {'scale': 'size', 'field': 'Rotten_Tomatoes_Rating'}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'bottom', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'height'}}}, 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"IMDB_Rating: " + (format(datum["IMDB_Rating"], "")) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'scale': 'concat_1_x', 'field': 'IMDB_Rating'}, 'y': {'signal': 'height', 'mult': 0.5}, 'size': {'scale': 'size', 'field': 'IMDB_Votes'}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'IMDB_Rating', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'fields': [{'data': 'data_0', 'field': 'Rotten_Tomatoes_Rating'}, {'data': 'data_1', 'field': 'IMDB_Votes'}]}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_x', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Release_Date'}, 'range': [0, {'signal': 'childWidth'}]}, {'name': 'concat_1_x', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Rating'}, 'range': [0, {'signal': 'childWidth'}], 'nice': True, 'zero': True}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'Rotten_Tomatoes_Rating, IMDB_Votes', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'opacity': {'value': 0.7}}}}}]} | train |
|
1,002 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"color":{"value":"#4c78a8"},"y":{"field":"Release_Date","type":"temporal","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#4c78a8"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#4c78a8,REVISION_STEP_REMOVE_FIELD_yIMDB_Votes,REVISION_STEP_TRANSPOSE_0,REVISION_STEP_REMOVE_FIELD_sizeRotten_Tomatoes_Rating | false | false | true | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#4c78a8"},"y":{"field":"Release_Date","type":"temporal","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#4c78a8"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'height': 200, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"])))'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Rating"]) && isFinite(+datum["IMDB_Rating"]) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}], 'signals': [{'name': 'concat_0_width', 'value': 20}, {'name': 'concat_1_width', 'value': 200}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_0_width'}, 'height': {'signal': 'height'}}}, 'signals': [{'name': 'width', 'update': 'concat_0_width'}], 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\'))'}, 'x': {'signal': 'concat_0_width', 'mult': 0.5}, 'y': {'scale': 'concat_0_y', 'field': 'Release_Date'}}}}], 'axes': [{'scale': 'concat_0_y', 'orient': 'left', 'grid': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'grid': False, 'title': 'Release_Date', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_1_width'}, 'height': {'signal': 'height'}}}, 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Rating: " + (format(datum["IMDB_Rating"], "")) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'scale': 'concat_1_x', 'field': 'Release_Date'}, 'y': {'scale': 'concat_1_y', 'field': 'IMDB_Rating'}, 'size': {'scale': 'size', 'field': 'IMDB_Votes'}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'gridScale': 'concat_1_y', 'grid': True, 'tickCount': {'signal': 'ceil(concat_1_width/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'gridScale': 'concat_1_x', 'grid': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_1_width/40)'}, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'grid': False, 'title': 'IMDB_Rating', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Votes'}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_y', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Release_Date'}, 'range': [{'signal': 'height'}, 0]}, {'name': 'concat_1_x', 'type': 'time', 'domain': {'data': 'data_1', 'field': 'Release_Date'}, 'range': [0, {'signal': 'concat_1_width'}]}, {'name': 'concat_1_y', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Rating'}, 'range': [{'signal': 'height'}, 0], 'nice': True, 'zero': True}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'IMDB_Votes', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'opacity': {'value': 0.7}}}}}]} | validation |
|
1,003 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#4c78a8"},"y":{"field":"Release_Date","type":"temporal","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"color":{"value":"#4c78a8"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#4c78a8,REVISION_STEP_REMOVE_FIELD_yIMDB_Votes,REVISION_STEP_TRANSPOSE_0,REVISION_STEP_REMOVE_FIELD_sizeIMDB_Votes | false | false | true | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#4c78a8"},"y":{"field":"Release_Date","type":"temporal","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#4c78a8"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'height': 200, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["Rotten_Tomatoes_Rating"]) && isFinite(+datum["Rotten_Tomatoes_Rating"])'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Rating"]) && isFinite(+datum["IMDB_Rating"])'}]}], 'signals': [{'name': 'concat_0_width', 'value': 20}, {'name': 'concat_1_width', 'value': 200}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_0_width'}, 'height': {'signal': 'height'}}}, 'signals': [{'name': 'width', 'update': 'concat_0_width'}], 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; Rotten_Tomatoes_Rating: " + (format(datum["Rotten_Tomatoes_Rating"], ""))'}, 'x': {'signal': 'concat_0_width', 'mult': 0.5}, 'y': {'scale': 'concat_0_y', 'field': 'Release_Date'}, 'size': {'scale': 'size', 'field': 'Rotten_Tomatoes_Rating'}}}}], 'axes': [{'scale': 'concat_0_y', 'orient': 'left', 'grid': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'grid': False, 'title': 'Release_Date', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_1_width'}, 'height': {'signal': 'height'}}}, 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Rating: " + (format(datum["IMDB_Rating"], ""))'}, 'x': {'scale': 'concat_1_x', 'field': 'Release_Date'}, 'y': {'scale': 'concat_1_y', 'field': 'IMDB_Rating'}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'gridScale': 'concat_1_y', 'grid': True, 'tickCount': {'signal': 'ceil(concat_1_width/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'gridScale': 'concat_1_x', 'grid': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_1_width/40)'}, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'grid': False, 'title': 'IMDB_Rating', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'data': 'data_0', 'field': 'Rotten_Tomatoes_Rating'}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_y', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Release_Date'}, 'range': [{'signal': 'height'}, 0]}, {'name': 'concat_1_x', 'type': 'time', 'domain': {'data': 'data_1', 'field': 'Release_Date'}, 'range': [0, {'signal': 'concat_1_width'}]}, {'name': 'concat_1_y', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Rating'}, 'range': [{'signal': 'height'}, 0], 'nice': True, 'zero': True}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'Rotten_Tomatoes_Rating', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'opacity': {'value': 0.7}}}}}]} | train |
|
1,004 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#4c78a8"},"y":{"field":"Release_Date","type":"temporal","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#4c78a8"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#4c78a8,REVISION_STEP_REMOVE_FIELD_yIMDB_Votes,REVISION_STEP_TRANSPOSE_0,REVISION_STEP_REMOVE_FIELD_yIMDB_Rating | false | false | true | false | false | false | false | false | false | false | false | false | false | false | true | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#4c78a8"},"y":{"field":"Release_Date","type":"temporal","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#4c78a8"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["Rotten_Tomatoes_Rating"]) && isFinite(+datum["Rotten_Tomatoes_Rating"])'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}], 'signals': [{'name': 'concat_0_width', 'value': 20}, {'name': 'concat_0_height', 'value': 200}, {'name': 'concat_1_width', 'value': 200}, {'name': 'concat_1_height', 'value': 20}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_0_width'}, 'height': {'signal': 'concat_0_height'}}}, 'signals': [{'name': 'width', 'update': 'concat_0_width'}], 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; Rotten_Tomatoes_Rating: " + (format(datum["Rotten_Tomatoes_Rating"], ""))'}, 'x': {'signal': 'concat_0_width', 'mult': 0.5}, 'y': {'scale': 'concat_0_y', 'field': 'Release_Date'}, 'size': {'scale': 'size', 'field': 'Rotten_Tomatoes_Rating'}}}}], 'axes': [{'scale': 'concat_0_y', 'orient': 'left', 'grid': True, 'tickCount': {'signal': 'ceil(concat_0_height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'grid': False, 'title': 'Release_Date', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_0_height/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_1_width'}, 'height': {'signal': 'concat_1_height'}}}, 'signals': [{'name': 'height', 'update': 'concat_1_height'}], 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'scale': 'concat_1_x', 'field': 'Release_Date'}, 'y': {'signal': 'concat_1_height', 'mult': 0.5}, 'size': {'scale': 'size', 'field': 'IMDB_Votes'}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'grid': True, 'tickCount': {'signal': 'ceil(concat_1_width/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_1_width/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'fields': [{'data': 'data_0', 'field': 'Rotten_Tomatoes_Rating'}, {'data': 'data_1', 'field': 'IMDB_Votes'}]}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_y', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Release_Date'}, 'range': [{'signal': 'concat_0_height'}, 0]}, {'name': 'concat_1_x', 'type': 'time', 'domain': {'data': 'data_1', 'field': 'Release_Date'}, 'range': [0, {'signal': 'concat_1_width'}]}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'Rotten_Tomatoes_Rating, IMDB_Votes', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'opacity': {'value': 0.7}}}}}]} | test |
|
1,005 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"color":{"value":"#4c78a8"},"x":{"field":"IMDB_Votes","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#4c78a8"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#4c78a8,REVISION_STEP_REMOVE_FIELD_xRelease_Date,REVISION_STEP_TRANSPOSE_0,REVISION_STEP_REMOVE_FIELD_sizeRotten_Tomatoes_Rating | false | false | true | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#4c78a8"},"x":{"field":"IMDB_Votes","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#4c78a8"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': 'isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Rating"]) && isFinite(+datum["IMDB_Rating"]) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}], 'signals': [{'name': 'childWidth', 'value': 200}, {'name': 'concat_0_height', 'value': 20}, {'name': 'concat_1_height', 'value': 200}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'concat_0_height'}}}, 'signals': [{'name': 'height', 'update': 'concat_0_height'}], 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'scale': 'concat_0_x', 'field': 'IMDB_Votes'}, 'y': {'signal': 'concat_0_height', 'mult': 0.5}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'bottom', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_x', 'orient': 'bottom', 'grid': False, 'title': 'IMDB_Votes', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'concat_1_height'}}}, 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Rating: " + (format(datum["IMDB_Rating"], "")) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'scale': 'concat_1_x', 'field': 'Release_Date'}, 'y': {'scale': 'concat_1_y', 'field': 'IMDB_Rating'}, 'size': {'scale': 'size', 'field': 'IMDB_Votes'}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'gridScale': 'concat_1_y', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'gridScale': 'concat_1_x', 'grid': True, 'tickCount': {'signal': 'ceil(concat_1_height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'grid': False, 'title': 'IMDB_Rating', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_1_height/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Votes'}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_x', 'type': 'linear', 'domain': {'data': 'data_0', 'field': 'IMDB_Votes'}, 'range': [0, {'signal': 'childWidth'}], 'nice': True, 'zero': True}, {'name': 'concat_1_x', 'type': 'time', 'domain': {'data': 'data_1', 'field': 'Release_Date'}, 'range': [0, {'signal': 'childWidth'}]}, {'name': 'concat_1_y', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Rating'}, 'range': [{'signal': 'concat_1_height'}, 0], 'nice': True, 'zero': True}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'IMDB_Votes', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'opacity': {'value': 0.7}}}}}]} | train |
|
1,006 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#4c78a8"},"x":{"field":"IMDB_Votes","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"color":{"value":"#4c78a8"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#4c78a8,REVISION_STEP_REMOVE_FIELD_xRelease_Date,REVISION_STEP_TRANSPOSE_0,REVISION_STEP_REMOVE_FIELD_sizeIMDB_Votes | true | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#4c78a8"},"x":{"field":"IMDB_Votes","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#4c78a8"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': 'isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"]) && isValid(datum["Rotten_Tomatoes_Rating"]) && isFinite(+datum["Rotten_Tomatoes_Rating"])'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Rating"]) && isFinite(+datum["IMDB_Rating"])'}]}], 'signals': [{'name': 'childWidth', 'value': 200}, {'name': 'concat_0_height', 'value': 20}, {'name': 'concat_1_height', 'value': 200}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'concat_0_height'}}}, 'signals': [{'name': 'height', 'update': 'concat_0_height'}], 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"IMDB_Votes: " + (format(datum["IMDB_Votes"], "")) + "; Rotten_Tomatoes_Rating: " + (format(datum["Rotten_Tomatoes_Rating"], ""))'}, 'x': {'scale': 'concat_0_x', 'field': 'IMDB_Votes'}, 'y': {'signal': 'concat_0_height', 'mult': 0.5}, 'size': {'scale': 'size', 'field': 'Rotten_Tomatoes_Rating'}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'bottom', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_x', 'orient': 'bottom', 'grid': False, 'title': 'IMDB_Votes', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'concat_1_height'}}}, 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Rating: " + (format(datum["IMDB_Rating"], ""))'}, 'x': {'scale': 'concat_1_x', 'field': 'Release_Date'}, 'y': {'scale': 'concat_1_y', 'field': 'IMDB_Rating'}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'gridScale': 'concat_1_y', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'gridScale': 'concat_1_x', 'grid': True, 'tickCount': {'signal': 'ceil(concat_1_height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'grid': False, 'title': 'IMDB_Rating', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_1_height/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'data': 'data_0', 'field': 'Rotten_Tomatoes_Rating'}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_x', 'type': 'linear', 'domain': {'data': 'data_0', 'field': 'IMDB_Votes'}, 'range': [0, {'signal': 'childWidth'}], 'nice': True, 'zero': True}, {'name': 'concat_1_x', 'type': 'time', 'domain': {'data': 'data_1', 'field': 'Release_Date'}, 'range': [0, {'signal': 'childWidth'}]}, {'name': 'concat_1_y', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Rating'}, 'range': [{'signal': 'concat_1_height'}, 0], 'nice': True, 'zero': True}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'Rotten_Tomatoes_Rating', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'opacity': {'value': 0.7}}}}}]} | train |
|
1,007 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#4c78a8"},"x":{"field":"IMDB_Votes","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#4c78a8"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#4c78a8,REVISION_STEP_REMOVE_FIELD_xRelease_Date,REVISION_STEP_TRANSPOSE_0,REVISION_STEP_REMOVE_FIELD_yIMDB_Rating | false | false | true | false | false | false | false | false | false | false | false | false | false | false | true | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#4c78a8"},"x":{"field":"IMDB_Votes","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#4c78a8"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'height': 20, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': 'isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"]) && isValid(datum["Rotten_Tomatoes_Rating"]) && isFinite(+datum["Rotten_Tomatoes_Rating"])'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}], 'signals': [{'name': 'childWidth', 'value': 200}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'height'}}}, 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"IMDB_Votes: " + (format(datum["IMDB_Votes"], "")) + "; Rotten_Tomatoes_Rating: " + (format(datum["Rotten_Tomatoes_Rating"], ""))'}, 'x': {'scale': 'concat_0_x', 'field': 'IMDB_Votes'}, 'y': {'signal': 'height', 'mult': 0.5}, 'size': {'scale': 'size', 'field': 'Rotten_Tomatoes_Rating'}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'bottom', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_x', 'orient': 'bottom', 'grid': False, 'title': 'IMDB_Votes', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'height'}}}, 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'scale': 'concat_1_x', 'field': 'Release_Date'}, 'y': {'signal': 'height', 'mult': 0.5}, 'size': {'scale': 'size', 'field': 'IMDB_Votes'}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'fields': [{'data': 'data_0', 'field': 'Rotten_Tomatoes_Rating'}, {'data': 'data_1', 'field': 'IMDB_Votes'}]}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_x', 'type': 'linear', 'domain': {'data': 'data_0', 'field': 'IMDB_Votes'}, 'range': [0, {'signal': 'childWidth'}], 'nice': True, 'zero': True}, {'name': 'concat_1_x', 'type': 'time', 'domain': {'data': 'data_1', 'field': 'Release_Date'}, 'range': [0, {'signal': 'childWidth'}]}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'Rotten_Tomatoes_Rating, IMDB_Votes', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'opacity': {'value': 0.7}}}}}]} | test |
|
1,008 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Votes","type":"quantitative","scale":{}},"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"color":{"value":"#9ecae9"},"y":{"field":"Release_Date","type":"temporal","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#9ecae9,REVISION_STEP_REMOVE_FIELD_yIMDB_Rating,REVISION_STEP_TRANSPOSE_1,REVISION_STEP_REMOVE_FIELD_sizeIMDB_Votes | false | false | true | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Votes","type":"quantitative","scale":{}},"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"},"y":{"field":"Release_Date","type":"temporal","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'height': 200, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"]) && isValid(datum["Rotten_Tomatoes_Rating"]) && isFinite(+datum["Rotten_Tomatoes_Rating"])'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"])))'}]}], 'signals': [{'name': 'concat_0_width', 'value': 200}, {'name': 'concat_1_width', 'value': 20}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_0_width'}, 'height': {'signal': 'height'}}}, 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], "")) + "; Rotten_Tomatoes_Rating: " + (format(datum["Rotten_Tomatoes_Rating"], ""))'}, 'x': {'scale': 'concat_0_x', 'field': 'Release_Date'}, 'y': {'scale': 'concat_0_y', 'field': 'IMDB_Votes'}, 'size': {'scale': 'size', 'field': 'Rotten_Tomatoes_Rating'}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'bottom', 'gridScale': 'concat_0_y', 'grid': True, 'tickCount': {'signal': 'ceil(concat_0_width/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'gridScale': 'concat_0_x', 'grid': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_0_width/40)'}, 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'grid': False, 'title': 'IMDB_Votes', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_1_width'}, 'height': {'signal': 'height'}}}, 'signals': [{'name': 'width', 'update': 'concat_1_width'}], 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\'))'}, 'x': {'signal': 'concat_1_width', 'mult': 0.5}, 'y': {'scale': 'concat_1_y', 'field': 'Release_Date'}}}}], 'axes': [{'scale': 'concat_1_y', 'orient': 'left', 'grid': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'grid': False, 'title': 'Release_Date', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'data': 'data_0', 'field': 'Rotten_Tomatoes_Rating'}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_x', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Release_Date'}, 'range': [0, {'signal': 'concat_0_width'}]}, {'name': 'concat_0_y', 'type': 'linear', 'domain': {'data': 'data_0', 'field': 'IMDB_Votes'}, 'range': [{'signal': 'height'}, 0], 'nice': True, 'zero': True}, {'name': 'concat_1_y', 'type': 'time', 'domain': {'data': 'data_1', 'field': 'Release_Date'}, 'range': [{'signal': 'height'}, 0]}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'Rotten_Tomatoes_Rating', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'opacity': {'value': 0.7}}}}}]} | validation |
|
1,009 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Votes","type":"quantitative","scale":{}},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"},"y":{"field":"Release_Date","type":"temporal","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#9ecae9,REVISION_STEP_REMOVE_FIELD_yIMDB_Rating,REVISION_STEP_TRANSPOSE_1,REVISION_STEP_REMOVE_FIELD_sizeRotten_Tomatoes_Rating | false | false | true | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Votes","type":"quantitative","scale":{}},"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"},"y":{"field":"Release_Date","type":"temporal","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'height': 200, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}], 'signals': [{'name': 'concat_0_width', 'value': 200}, {'name': 'concat_1_width', 'value': 20}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_0_width'}, 'height': {'signal': 'height'}}}, 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'scale': 'concat_0_x', 'field': 'Release_Date'}, 'y': {'scale': 'concat_0_y', 'field': 'IMDB_Votes'}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'bottom', 'gridScale': 'concat_0_y', 'grid': True, 'tickCount': {'signal': 'ceil(concat_0_width/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'gridScale': 'concat_0_x', 'grid': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_0_width/40)'}, 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'grid': False, 'title': 'IMDB_Votes', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_1_width'}, 'height': {'signal': 'height'}}}, 'signals': [{'name': 'width', 'update': 'concat_1_width'}], 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'signal': 'concat_1_width', 'mult': 0.5}, 'y': {'scale': 'concat_1_y', 'field': 'Release_Date'}, 'size': {'scale': 'size', 'field': 'IMDB_Votes'}}}}], 'axes': [{'scale': 'concat_1_y', 'orient': 'left', 'grid': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'grid': False, 'title': 'Release_Date', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Votes'}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_x', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Release_Date'}, 'range': [0, {'signal': 'concat_0_width'}]}, {'name': 'concat_0_y', 'type': 'linear', 'domain': {'data': 'data_0', 'field': 'IMDB_Votes'}, 'range': [{'signal': 'height'}, 0], 'nice': True, 'zero': True}, {'name': 'concat_1_y', 'type': 'time', 'domain': {'data': 'data_1', 'field': 'Release_Date'}, 'range': [{'signal': 'height'}, 0]}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'IMDB_Votes', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'opacity': {'value': 0.7}}}}}]} | validation |
|
101 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/717fe6d266ebe7958773121d66f2edb5/raw/02630cf1a4787236f24317cb92456839735383e9/birdstrikes.json", "format": {"type":"json"}},"mark":"point","encoding":{"y":{"field":"Airport__Name","type":"nominal","scale":{"rangeStep":12}},"x":{"field":"When__Phase_of_flight","type":"nominal","axis":{"orient":"top"}},"color":{"value":"#72b7b2"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/717fe6d266ebe7958773121d66f2edb5/raw/02630cf1a4787236f24317cb92456839735383e9/birdstrikes.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Wildlife__Species","type":"nominal","scale":{"rangeStep":12}},"y":{"field":"Flight_Date","type":"temporal","scale":{},"axis":{"orient":"top"}},"row":{"field":"When__Phase_of_flight","type":"nominal"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_REMOVE_FIELD_colorWildlife__Size,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#72b7b2,REVISION_STEP_TRANSPOSE_1,REVISION_STEP_REMOVE_FIELD_colorWhen__Time_of_day | true | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"y":{"field":"Airport__Name","type":"nominal","scale":{"rangeStep":12}},"x":{"field":"When__Phase_of_flight","type":"nominal","axis":{"orient":"top"}},"color":{"value":"#72b7b2"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Wildlife__Species","type":"nominal","scale":{"rangeStep":12}},"y":{"field":"Flight_Date","type":"temporal","scale":{},"axis":{"orient":"top"}},"color":{"field":"When__Time_of_day","type":"nominal"},"row":{"field":"When__Phase_of_flight","type":"nominal"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | birdStrike.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/717fe6d266ebe7958773121d66f2edb5/raw/02630cf1a4787236f24317cb92456839735383e9/birdstrikes.json', 'format': {'type': 'json', 'parse': {'Flight_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Flight_Date"]) || (isValid(datum["Flight_Date"]) && isFinite(+datum["Flight_Date"])))'}]}, {'name': 'concat_1_row_domain', 'source': 'data_0', 'transform': [{'type': 'aggregate', 'groupby': ['When__Phase_of_flight']}]}], 'signals': [{'name': 'concat_0_x_step', 'value': 20}, {'name': 'concat_0_width', 'update': "bandspace(domain('concat_0_x').length, 1, 0.5) * concat_0_x_step"}, {'name': 'concat_0_y_step', 'value': 20}, {'name': 'concat_0_height', 'update': "bandspace(domain('concat_0_y').length, 1, 0.5) * concat_0_y_step"}, {'name': 'concat_1_x_step', 'value': 20}, {'name': 'concat_1_child_width', 'update': "bandspace(domain('concat_1_x').length, 1, 0.5) * concat_1_x_step"}, {'name': 'concat_1_child_height', 'value': 200}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_0_width'}, 'height': {'signal': 'concat_0_height'}}}, 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'source_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#72b7b2'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"When__Phase_of_flight: " + (isValid(datum["When__Phase_of_flight"]) ? datum["When__Phase_of_flight"] : ""+datum["When__Phase_of_flight"]) + "; Airport__Name: " + (isValid(datum["Airport__Name"]) ? datum["Airport__Name"] : ""+datum["Airport__Name"])'}, 'x': {'scale': 'concat_0_x', 'field': 'When__Phase_of_flight'}, 'y': {'scale': 'concat_0_y', 'field': 'Airport__Name'}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'top', 'grid': False, 'title': 'When__Phase_of_flight', 'labelAlign': 'left', 'labelAngle': 270, 'labelBaseline': 'middle', 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'grid': False, 'title': 'Airport__Name', 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'layout': {'padding': 20, 'offset': {'rowTitle': 10}, 'columns': 1, 'bounds': 'full', 'align': 'all'}, 'marks': [{'name': 'row-title', 'type': 'group', 'role': 'row-title', 'title': {'text': 'When__Phase_of_flight', 'orient': 'left', 'style': 'guide-title', 'offset': 10}}, {'name': 'concat_1_row_header', 'type': 'group', 'role': 'row-header', 'from': {'data': 'concat_1_row_domain'}, 'sort': {'field': 'datum["When__Phase_of_flight"]', 'order': 'ascending'}, 'title': {'text': {'signal': 'isValid(parent["When__Phase_of_flight"]) ? parent["When__Phase_of_flight"] : ""+parent["When__Phase_of_flight"]'}, 'orient': 'left', 'style': 'guide-label', 'frame': 'group', 'offset': 10}, 'encode': {'update': {'height': {'signal': 'concat_1_child_height'}}}, 'axes': [{'scale': 'concat_1_y', 'orient': 'top', 'grid': False, 'title': 'Flight_Date', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_1_child_height/40)'}, 'zindex': 0}]}, {'name': 'concat_1_column_footer', 'type': 'group', 'role': 'column-footer', 'encode': {'update': {'width': {'signal': 'concat_1_child_width'}}}, 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'Wildlife__Species', 'labelAlign': 'right', 'labelAngle': 270, 'labelBaseline': 'middle', 'zindex': 0}]}, {'name': 'concat_1_cell', 'type': 'group', 'style': 'cell', 'from': {'facet': {'name': 'concat_1_facet', 'data': 'data_0', 'groupby': ['When__Phase_of_flight']}}, 'sort': {'field': ['datum["When__Phase_of_flight"]'], 'order': ['ascending']}, 'encode': {'update': {'width': {'signal': 'concat_1_child_width'}, 'height': {'signal': 'concat_1_child_height'}}}, 'marks': [{'name': 'concat_1_child_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'concat_1_facet'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#4c78a8'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Wildlife__Species: " + (isValid(datum["Wildlife__Species"]) ? datum["Wildlife__Species"] : ""+datum["Wildlife__Species"]) + "; Flight_Date: " + (timeFormat(datum["Flight_Date"], \'%b %d, %Y\'))'}, 'x': {'scale': 'concat_1_x', 'field': 'Wildlife__Species'}, 'y': {'scale': 'concat_1_y', 'field': 'Flight_Date'}}}}], 'axes': [{'scale': 'concat_1_y', 'orient': 'top', 'gridScale': 'concat_1_x', 'grid': True, 'tickCount': {'signal': 'ceil(concat_1_child_height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}]}]}], 'scales': [{'name': 'concat_0_x', 'type': 'point', 'domain': {'data': 'source_0', 'field': 'When__Phase_of_flight', 'sort': True}, 'range': {'step': {'signal': 'concat_0_x_step'}}, 'padding': 0.5}, {'name': 'concat_0_y', 'type': 'point', 'domain': {'data': 'source_0', 'field': 'Airport__Name', 'sort': True}, 'range': {'step': {'signal': 'concat_0_y_step'}}, 'padding': 0.5}, {'name': 'concat_1_x', 'type': 'point', 'domain': {'data': 'data_0', 'field': 'Wildlife__Species', 'sort': True}, 'range': {'step': {'signal': 'concat_1_x_step'}}, 'padding': 0.5}, {'name': 'concat_1_y', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Flight_Date'}, 'range': [{'signal': 'concat_1_child_height'}, 0]}]} | test |
|
1,010 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"},"y":{"field":"Release_Date","type":"temporal","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#9ecae9,REVISION_STEP_REMOVE_FIELD_yIMDB_Rating,REVISION_STEP_TRANSPOSE_1,REVISION_STEP_REMOVE_FIELD_yIMDB_Votes | false | false | true | false | false | false | false | false | false | false | false | false | false | false | true | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Votes","type":"quantitative","scale":{}},"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"},"y":{"field":"Release_Date","type":"temporal","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["Rotten_Tomatoes_Rating"]) && isFinite(+datum["Rotten_Tomatoes_Rating"])'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}], 'signals': [{'name': 'concat_0_width', 'value': 200}, {'name': 'concat_0_height', 'value': 20}, {'name': 'concat_1_width', 'value': 20}, {'name': 'concat_1_height', 'value': 200}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_0_width'}, 'height': {'signal': 'concat_0_height'}}}, 'signals': [{'name': 'height', 'update': 'concat_0_height'}], 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; Rotten_Tomatoes_Rating: " + (format(datum["Rotten_Tomatoes_Rating"], ""))'}, 'x': {'scale': 'concat_0_x', 'field': 'Release_Date'}, 'y': {'signal': 'concat_0_height', 'mult': 0.5}, 'size': {'scale': 'size', 'field': 'Rotten_Tomatoes_Rating'}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'bottom', 'grid': True, 'tickCount': {'signal': 'ceil(concat_0_width/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_0_width/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_1_width'}, 'height': {'signal': 'concat_1_height'}}}, 'signals': [{'name': 'width', 'update': 'concat_1_width'}], 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'signal': 'concat_1_width', 'mult': 0.5}, 'y': {'scale': 'concat_1_y', 'field': 'Release_Date'}, 'size': {'scale': 'size', 'field': 'IMDB_Votes'}}}}], 'axes': [{'scale': 'concat_1_y', 'orient': 'left', 'grid': True, 'tickCount': {'signal': 'ceil(concat_1_height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'grid': False, 'title': 'Release_Date', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_1_height/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'fields': [{'data': 'data_0', 'field': 'Rotten_Tomatoes_Rating'}, {'data': 'data_1', 'field': 'IMDB_Votes'}]}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_x', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Release_Date'}, 'range': [0, {'signal': 'concat_0_width'}]}, {'name': 'concat_1_y', 'type': 'time', 'domain': {'data': 'data_1', 'field': 'Release_Date'}, 'range': [{'signal': 'concat_1_height'}, 0]}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'Rotten_Tomatoes_Rating, IMDB_Votes', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'opacity': {'value': 0.7}}}}}]} | train |
|
1,011 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Votes","type":"quantitative","scale":{}},"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"color":{"value":"#9ecae9"},"x":{"field":"IMDB_Rating","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#9ecae9,REVISION_STEP_REMOVE_FIELD_xRelease_Date,REVISION_STEP_TRANSPOSE_1,REVISION_STEP_REMOVE_FIELD_sizeIMDB_Votes | true | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Votes","type":"quantitative","scale":{}},"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"},"x":{"field":"IMDB_Rating","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"]) && isValid(datum["Rotten_Tomatoes_Rating"]) && isFinite(+datum["Rotten_Tomatoes_Rating"])'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': 'isValid(datum["IMDB_Rating"]) && isFinite(+datum["IMDB_Rating"])'}]}], 'signals': [{'name': 'childWidth', 'value': 200}, {'name': 'concat_0_height', 'value': 200}, {'name': 'concat_1_height', 'value': 20}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'concat_0_height'}}}, 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], "")) + "; Rotten_Tomatoes_Rating: " + (format(datum["Rotten_Tomatoes_Rating"], ""))'}, 'x': {'scale': 'concat_0_x', 'field': 'Release_Date'}, 'y': {'scale': 'concat_0_y', 'field': 'IMDB_Votes'}, 'size': {'scale': 'size', 'field': 'Rotten_Tomatoes_Rating'}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'bottom', 'gridScale': 'concat_0_y', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'gridScale': 'concat_0_x', 'grid': True, 'tickCount': {'signal': 'ceil(concat_0_height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'grid': False, 'title': 'IMDB_Votes', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_0_height/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'concat_1_height'}}}, 'signals': [{'name': 'height', 'update': 'concat_1_height'}], 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"IMDB_Rating: " + (format(datum["IMDB_Rating"], ""))'}, 'x': {'scale': 'concat_1_x', 'field': 'IMDB_Rating'}, 'y': {'signal': 'concat_1_height', 'mult': 0.5}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'IMDB_Rating', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'data': 'data_0', 'field': 'Rotten_Tomatoes_Rating'}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_x', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Release_Date'}, 'range': [0, {'signal': 'childWidth'}]}, {'name': 'concat_0_y', 'type': 'linear', 'domain': {'data': 'data_0', 'field': 'IMDB_Votes'}, 'range': [{'signal': 'concat_0_height'}, 0], 'nice': True, 'zero': True}, {'name': 'concat_1_x', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Rating'}, 'range': [0, {'signal': 'childWidth'}], 'nice': True, 'zero': True}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'Rotten_Tomatoes_Rating', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'opacity': {'value': 0.7}}}}}]} | train |
|
1,012 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Votes","type":"quantitative","scale":{}},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"},"x":{"field":"IMDB_Rating","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#9ecae9,REVISION_STEP_REMOVE_FIELD_xRelease_Date,REVISION_STEP_TRANSPOSE_1,REVISION_STEP_REMOVE_FIELD_sizeRotten_Tomatoes_Rating | false | false | true | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Votes","type":"quantitative","scale":{}},"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"},"x":{"field":"IMDB_Rating","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': 'isValid(datum["IMDB_Rating"]) && isFinite(+datum["IMDB_Rating"]) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}], 'signals': [{'name': 'childWidth', 'value': 200}, {'name': 'concat_0_height', 'value': 200}, {'name': 'concat_1_height', 'value': 20}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'concat_0_height'}}}, 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'scale': 'concat_0_x', 'field': 'Release_Date'}, 'y': {'scale': 'concat_0_y', 'field': 'IMDB_Votes'}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'bottom', 'gridScale': 'concat_0_y', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'gridScale': 'concat_0_x', 'grid': True, 'tickCount': {'signal': 'ceil(concat_0_height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'grid': False, 'title': 'IMDB_Votes', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_0_height/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'concat_1_height'}}}, 'signals': [{'name': 'height', 'update': 'concat_1_height'}], 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"IMDB_Rating: " + (format(datum["IMDB_Rating"], "")) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'scale': 'concat_1_x', 'field': 'IMDB_Rating'}, 'y': {'signal': 'concat_1_height', 'mult': 0.5}, 'size': {'scale': 'size', 'field': 'IMDB_Votes'}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'IMDB_Rating', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Votes'}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_x', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Release_Date'}, 'range': [0, {'signal': 'childWidth'}]}, {'name': 'concat_0_y', 'type': 'linear', 'domain': {'data': 'data_0', 'field': 'IMDB_Votes'}, 'range': [{'signal': 'concat_0_height'}, 0], 'nice': True, 'zero': True}, {'name': 'concat_1_x', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Rating'}, 'range': [0, {'signal': 'childWidth'}], 'nice': True, 'zero': True}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'IMDB_Votes', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'opacity': {'value': 0.7}}}}}]} | train |
|
1,013 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"},"x":{"field":"IMDB_Rating","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#9ecae9,REVISION_STEP_REMOVE_FIELD_xRelease_Date,REVISION_STEP_TRANSPOSE_1,REVISION_STEP_REMOVE_FIELD_yIMDB_Votes | false | false | false | false | false | false | false | false | false | false | false | false | false | false | true | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Votes","type":"quantitative","scale":{}},"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"},"x":{"field":"IMDB_Rating","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'height': 20, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["Rotten_Tomatoes_Rating"]) && isFinite(+datum["Rotten_Tomatoes_Rating"])'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': 'isValid(datum["IMDB_Rating"]) && isFinite(+datum["IMDB_Rating"]) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}], 'signals': [{'name': 'childWidth', 'value': 200}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'height'}}}, 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; Rotten_Tomatoes_Rating: " + (format(datum["Rotten_Tomatoes_Rating"], ""))'}, 'x': {'scale': 'concat_0_x', 'field': 'Release_Date'}, 'y': {'signal': 'height', 'mult': 0.5}, 'size': {'scale': 'size', 'field': 'Rotten_Tomatoes_Rating'}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'bottom', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'height'}}}, 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"IMDB_Rating: " + (format(datum["IMDB_Rating"], "")) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'scale': 'concat_1_x', 'field': 'IMDB_Rating'}, 'y': {'signal': 'height', 'mult': 0.5}, 'size': {'scale': 'size', 'field': 'IMDB_Votes'}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'IMDB_Rating', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'fields': [{'data': 'data_0', 'field': 'Rotten_Tomatoes_Rating'}, {'data': 'data_1', 'field': 'IMDB_Votes'}]}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_x', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Release_Date'}, 'range': [0, {'signal': 'childWidth'}]}, {'name': 'concat_1_x', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Rating'}, 'range': [0, {'signal': 'childWidth'}], 'nice': True, 'zero': True}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'Rotten_Tomatoes_Rating, IMDB_Votes', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'opacity': {'value': 0.7}}}}}]} | train |
|
1,014 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"color":{"value":"#9ecae9"},"y":{"field":"Release_Date","type":"temporal","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#9ecae9,REVISION_STEP_REMOVE_FIELD_yIMDB_Votes,REVISION_STEP_TRANSPOSE_0,REVISION_STEP_REMOVE_FIELD_sizeRotten_Tomatoes_Rating | false | false | true | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"},"y":{"field":"Release_Date","type":"temporal","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'height': 200, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"])))'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Rating"]) && isFinite(+datum["IMDB_Rating"]) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}], 'signals': [{'name': 'concat_0_width', 'value': 20}, {'name': 'concat_1_width', 'value': 200}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_0_width'}, 'height': {'signal': 'height'}}}, 'signals': [{'name': 'width', 'update': 'concat_0_width'}], 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\'))'}, 'x': {'signal': 'concat_0_width', 'mult': 0.5}, 'y': {'scale': 'concat_0_y', 'field': 'Release_Date'}}}}], 'axes': [{'scale': 'concat_0_y', 'orient': 'left', 'grid': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'grid': False, 'title': 'Release_Date', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_1_width'}, 'height': {'signal': 'height'}}}, 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Rating: " + (format(datum["IMDB_Rating"], "")) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'scale': 'concat_1_x', 'field': 'Release_Date'}, 'y': {'scale': 'concat_1_y', 'field': 'IMDB_Rating'}, 'size': {'scale': 'size', 'field': 'IMDB_Votes'}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'gridScale': 'concat_1_y', 'grid': True, 'tickCount': {'signal': 'ceil(concat_1_width/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'gridScale': 'concat_1_x', 'grid': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_1_width/40)'}, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'grid': False, 'title': 'IMDB_Rating', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Votes'}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_y', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Release_Date'}, 'range': [{'signal': 'height'}, 0]}, {'name': 'concat_1_x', 'type': 'time', 'domain': {'data': 'data_1', 'field': 'Release_Date'}, 'range': [0, {'signal': 'concat_1_width'}]}, {'name': 'concat_1_y', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Rating'}, 'range': [{'signal': 'height'}, 0], 'nice': True, 'zero': True}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'IMDB_Votes', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'opacity': {'value': 0.7}}}}}]} | train |
|
1,015 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"},"y":{"field":"Release_Date","type":"temporal","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#9ecae9,REVISION_STEP_REMOVE_FIELD_yIMDB_Votes,REVISION_STEP_TRANSPOSE_0,REVISION_STEP_REMOVE_FIELD_sizeIMDB_Votes | false | false | true | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"},"y":{"field":"Release_Date","type":"temporal","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'height': 200, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["Rotten_Tomatoes_Rating"]) && isFinite(+datum["Rotten_Tomatoes_Rating"])'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Rating"]) && isFinite(+datum["IMDB_Rating"])'}]}], 'signals': [{'name': 'concat_0_width', 'value': 20}, {'name': 'concat_1_width', 'value': 200}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_0_width'}, 'height': {'signal': 'height'}}}, 'signals': [{'name': 'width', 'update': 'concat_0_width'}], 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; Rotten_Tomatoes_Rating: " + (format(datum["Rotten_Tomatoes_Rating"], ""))'}, 'x': {'signal': 'concat_0_width', 'mult': 0.5}, 'y': {'scale': 'concat_0_y', 'field': 'Release_Date'}, 'size': {'scale': 'size', 'field': 'Rotten_Tomatoes_Rating'}}}}], 'axes': [{'scale': 'concat_0_y', 'orient': 'left', 'grid': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'grid': False, 'title': 'Release_Date', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_1_width'}, 'height': {'signal': 'height'}}}, 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Rating: " + (format(datum["IMDB_Rating"], ""))'}, 'x': {'scale': 'concat_1_x', 'field': 'Release_Date'}, 'y': {'scale': 'concat_1_y', 'field': 'IMDB_Rating'}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'gridScale': 'concat_1_y', 'grid': True, 'tickCount': {'signal': 'ceil(concat_1_width/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'gridScale': 'concat_1_x', 'grid': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_1_width/40)'}, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'grid': False, 'title': 'IMDB_Rating', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(height/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'data': 'data_0', 'field': 'Rotten_Tomatoes_Rating'}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_y', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Release_Date'}, 'range': [{'signal': 'height'}, 0]}, {'name': 'concat_1_x', 'type': 'time', 'domain': {'data': 'data_1', 'field': 'Release_Date'}, 'range': [0, {'signal': 'concat_1_width'}]}, {'name': 'concat_1_y', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Rating'}, 'range': [{'signal': 'height'}, 0], 'nice': True, 'zero': True}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'Rotten_Tomatoes_Rating', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'opacity': {'value': 0.7}}}}}]} | train |
|
1,016 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"},"y":{"field":"Release_Date","type":"temporal","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#9ecae9,REVISION_STEP_REMOVE_FIELD_yIMDB_Votes,REVISION_STEP_TRANSPOSE_0,REVISION_STEP_REMOVE_FIELD_yIMDB_Rating | false | false | true | false | false | false | false | false | false | false | false | false | false | false | true | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"},"y":{"field":"Release_Date","type":"temporal","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["Rotten_Tomatoes_Rating"]) && isFinite(+datum["Rotten_Tomatoes_Rating"])'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}], 'signals': [{'name': 'concat_0_width', 'value': 20}, {'name': 'concat_0_height', 'value': 200}, {'name': 'concat_1_width', 'value': 200}, {'name': 'concat_1_height', 'value': 20}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_0_width'}, 'height': {'signal': 'concat_0_height'}}}, 'signals': [{'name': 'width', 'update': 'concat_0_width'}], 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; Rotten_Tomatoes_Rating: " + (format(datum["Rotten_Tomatoes_Rating"], ""))'}, 'x': {'signal': 'concat_0_width', 'mult': 0.5}, 'y': {'scale': 'concat_0_y', 'field': 'Release_Date'}, 'size': {'scale': 'size', 'field': 'Rotten_Tomatoes_Rating'}}}}], 'axes': [{'scale': 'concat_0_y', 'orient': 'left', 'grid': True, 'tickCount': {'signal': 'ceil(concat_0_height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'grid': False, 'title': 'Release_Date', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_0_height/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_1_width'}, 'height': {'signal': 'concat_1_height'}}}, 'signals': [{'name': 'height', 'update': 'concat_1_height'}], 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'scale': 'concat_1_x', 'field': 'Release_Date'}, 'y': {'signal': 'concat_1_height', 'mult': 0.5}, 'size': {'scale': 'size', 'field': 'IMDB_Votes'}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'grid': True, 'tickCount': {'signal': 'ceil(concat_1_width/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_1_width/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'fields': [{'data': 'data_0', 'field': 'Rotten_Tomatoes_Rating'}, {'data': 'data_1', 'field': 'IMDB_Votes'}]}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_y', 'type': 'time', 'domain': {'data': 'data_0', 'field': 'Release_Date'}, 'range': [{'signal': 'concat_0_height'}, 0]}, {'name': 'concat_1_x', 'type': 'time', 'domain': {'data': 'data_1', 'field': 'Release_Date'}, 'range': [0, {'signal': 'concat_1_width'}]}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'Rotten_Tomatoes_Rating, IMDB_Votes', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'opacity': {'value': 0.7}}}}}]} | validation |
|
1,017 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"color":{"value":"#9ecae9"},"x":{"field":"IMDB_Votes","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#9ecae9,REVISION_STEP_REMOVE_FIELD_xRelease_Date,REVISION_STEP_TRANSPOSE_0,REVISION_STEP_REMOVE_FIELD_sizeRotten_Tomatoes_Rating | false | false | true | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"},"x":{"field":"IMDB_Votes","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': 'isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Rating"]) && isFinite(+datum["IMDB_Rating"]) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}], 'signals': [{'name': 'childWidth', 'value': 200}, {'name': 'concat_0_height', 'value': 20}, {'name': 'concat_1_height', 'value': 200}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'concat_0_height'}}}, 'signals': [{'name': 'height', 'update': 'concat_0_height'}], 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'scale': 'concat_0_x', 'field': 'IMDB_Votes'}, 'y': {'signal': 'concat_0_height', 'mult': 0.5}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'bottom', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_x', 'orient': 'bottom', 'grid': False, 'title': 'IMDB_Votes', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'concat_1_height'}}}, 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Rating: " + (format(datum["IMDB_Rating"], "")) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'scale': 'concat_1_x', 'field': 'Release_Date'}, 'y': {'scale': 'concat_1_y', 'field': 'IMDB_Rating'}, 'size': {'scale': 'size', 'field': 'IMDB_Votes'}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'gridScale': 'concat_1_y', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'gridScale': 'concat_1_x', 'grid': True, 'tickCount': {'signal': 'ceil(concat_1_height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'grid': False, 'title': 'IMDB_Rating', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_1_height/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Votes'}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_x', 'type': 'linear', 'domain': {'data': 'data_0', 'field': 'IMDB_Votes'}, 'range': [0, {'signal': 'childWidth'}], 'nice': True, 'zero': True}, {'name': 'concat_1_x', 'type': 'time', 'domain': {'data': 'data_1', 'field': 'Release_Date'}, 'range': [0, {'signal': 'childWidth'}]}, {'name': 'concat_1_y', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Rating'}, 'range': [{'signal': 'concat_1_height'}, 0], 'nice': True, 'zero': True}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'IMDB_Votes', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'opacity': {'value': 0.7}}}}}]} | test |
|
1,018 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"},"x":{"field":"IMDB_Votes","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#9ecae9,REVISION_STEP_REMOVE_FIELD_xRelease_Date,REVISION_STEP_TRANSPOSE_0,REVISION_STEP_REMOVE_FIELD_sizeIMDB_Votes | true | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"},"x":{"field":"IMDB_Votes","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': 'isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"]) && isValid(datum["Rotten_Tomatoes_Rating"]) && isFinite(+datum["Rotten_Tomatoes_Rating"])'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Rating"]) && isFinite(+datum["IMDB_Rating"])'}]}], 'signals': [{'name': 'childWidth', 'value': 200}, {'name': 'concat_0_height', 'value': 20}, {'name': 'concat_1_height', 'value': 200}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'concat_0_height'}}}, 'signals': [{'name': 'height', 'update': 'concat_0_height'}], 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"IMDB_Votes: " + (format(datum["IMDB_Votes"], "")) + "; Rotten_Tomatoes_Rating: " + (format(datum["Rotten_Tomatoes_Rating"], ""))'}, 'x': {'scale': 'concat_0_x', 'field': 'IMDB_Votes'}, 'y': {'signal': 'concat_0_height', 'mult': 0.5}, 'size': {'scale': 'size', 'field': 'Rotten_Tomatoes_Rating'}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'bottom', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_x', 'orient': 'bottom', 'grid': False, 'title': 'IMDB_Votes', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'concat_1_height'}}}, 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Rating: " + (format(datum["IMDB_Rating"], ""))'}, 'x': {'scale': 'concat_1_x', 'field': 'Release_Date'}, 'y': {'scale': 'concat_1_y', 'field': 'IMDB_Rating'}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'gridScale': 'concat_1_y', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'gridScale': 'concat_1_x', 'grid': True, 'tickCount': {'signal': 'ceil(concat_1_height/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}, {'scale': 'concat_1_y', 'orient': 'left', 'grid': False, 'title': 'IMDB_Rating', 'labelOverlap': True, 'tickCount': {'signal': 'ceil(concat_1_height/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'data': 'data_0', 'field': 'Rotten_Tomatoes_Rating'}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_x', 'type': 'linear', 'domain': {'data': 'data_0', 'field': 'IMDB_Votes'}, 'range': [0, {'signal': 'childWidth'}], 'nice': True, 'zero': True}, {'name': 'concat_1_x', 'type': 'time', 'domain': {'data': 'data_1', 'field': 'Release_Date'}, 'range': [0, {'signal': 'childWidth'}]}, {'name': 'concat_1_y', 'type': 'linear', 'domain': {'data': 'data_1', 'field': 'IMDB_Rating'}, 'range': [{'signal': 'concat_1_height'}, 0], 'nice': True, 'zero': True}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'Rotten_Tomatoes_Rating', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'opacity': {'value': 0.7}}}}}]} | train |
|
1,019 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"},"x":{"field":"IMDB_Votes","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#9ecae9,REVISION_STEP_REMOVE_FIELD_xRelease_Date,REVISION_STEP_TRANSPOSE_0,REVISION_STEP_REMOVE_FIELD_yIMDB_Rating | false | false | true | false | false | false | false | false | false | false | false | false | false | false | true | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"size":{"field":"Rotten_Tomatoes_Rating","type":"quantitative"},"color":{"value":"#9ecae9"},"x":{"field":"IMDB_Votes","type":"quantitative","scale":{}}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Release_Date","type":"temporal","scale":{}},"y":{"field":"IMDB_Rating","type":"quantitative","scale":{}},"size":{"field":"IMDB_Votes","type":"quantitative"},"color":{"value":"#9ecae9"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | movies.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'height': 20, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/2f020ba3c66cd2744067f5b857ccc0cf/raw/02d30f4e6d4c4ed5b114168483febe34cef5f7bf/movies.json', 'format': {'type': 'json', 'parse': {'Release_Date': 'date'}}}, {'name': 'data_0', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': 'isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"]) && isValid(datum["Rotten_Tomatoes_Rating"]) && isFinite(+datum["Rotten_Tomatoes_Rating"])'}]}, {'name': 'data_1', 'source': 'source_0', 'transform': [{'type': 'filter', 'expr': '(isDate(datum["Release_Date"]) || (isValid(datum["Release_Date"]) && isFinite(+datum["Release_Date"]))) && isValid(datum["IMDB_Votes"]) && isFinite(+datum["IMDB_Votes"])'}]}], 'signals': [{'name': 'childWidth', 'value': 200}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'height'}}}, 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"IMDB_Votes: " + (format(datum["IMDB_Votes"], "")) + "; Rotten_Tomatoes_Rating: " + (format(datum["Rotten_Tomatoes_Rating"], ""))'}, 'x': {'scale': 'concat_0_x', 'field': 'IMDB_Votes'}, 'y': {'signal': 'height', 'mult': 0.5}, 'size': {'scale': 'size', 'field': 'Rotten_Tomatoes_Rating'}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'bottom', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_0_x', 'orient': 'bottom', 'grid': False, 'title': 'IMDB_Votes', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'childWidth'}, 'height': {'signal': 'height'}}}, 'marks': [{'name': 'concat_1_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'data_1'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Release_Date: " + (timeFormat(datum["Release_Date"], \'%b %d, %Y\')) + "; IMDB_Votes: " + (format(datum["IMDB_Votes"], ""))'}, 'x': {'scale': 'concat_1_x', 'field': 'Release_Date'}, 'y': {'signal': 'height', 'mult': 0.5}, 'size': {'scale': 'size', 'field': 'IMDB_Votes'}}}}], 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'grid': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'domain': False, 'labels': False, 'aria': False, 'maxExtent': 0, 'minExtent': 0, 'ticks': False, 'zindex': 0}, {'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'Release_Date', 'labelFlush': True, 'labelOverlap': True, 'tickCount': {'signal': 'ceil(childWidth/40)'}, 'zindex': 0}]}], 'scales': [{'name': 'size', 'type': 'linear', 'domain': {'fields': [{'data': 'data_0', 'field': 'Rotten_Tomatoes_Rating'}, {'data': 'data_1', 'field': 'IMDB_Votes'}]}, 'range': [0, 361], 'zero': True}, {'name': 'concat_0_x', 'type': 'linear', 'domain': {'data': 'data_0', 'field': 'IMDB_Votes'}, 'range': [0, {'signal': 'childWidth'}], 'nice': True, 'zero': True}, {'name': 'concat_1_x', 'type': 'time', 'domain': {'data': 'data_1', 'field': 'Release_Date'}, 'range': [0, {'signal': 'childWidth'}]}], 'legends': [{'size': 'size', 'symbolType': 'circle', 'title': 'Rotten_Tomatoes_Rating, IMDB_Votes', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'stroke': {'value': '#9ecae9'}, 'opacity': {'value': 0.7}}}}}]} | train |
|
102 | {"hconcat":[{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/717fe6d266ebe7958773121d66f2edb5/raw/02630cf1a4787236f24317cb92456839735383e9/birdstrikes.json", "format": {"type":"json"}},"mark":"point","encoding":{"y":{"field":"Airport__Name","type":"nominal","scale":{"rangeStep":12}},"x":{"field":"When__Phase_of_flight","type":"nominal","axis":{"orient":"top"}},"color":{"value":"#72b7b2"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"url": "https://gist.githubusercontent.com/light-and-salt/717fe6d266ebe7958773121d66f2edb5/raw/02630cf1a4787236f24317cb92456839735383e9/birdstrikes.json", "format": {"type":"json"}},"mark":"point","encoding":{"x":{"field":"Wildlife__Species","type":"nominal","scale":{"rangeStep":12}},"color":{"field":"When__Time_of_day","type":"nominal"},"row":{"field":"When__Phase_of_flight","type":"nominal"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}]} | Start,REVISION_STEP_REMOVE_FIELD_colorWildlife__Size,REVISION_STEP_SET_CONSTANT_COLOR_IN_ALL_CHARTS_#72b7b2,REVISION_STEP_TRANSPOSE_1,REVISION_STEP_REMOVE_FIELD_yFlight_Date | false | false | false | false | false | false | false | false | false | false | false | true | false | false | false | false | false | false | [{"data":{"name":"source"},"mark":"point","encoding":{"y":{"field":"Airport__Name","type":"nominal","scale":{"rangeStep":12}},"x":{"field":"When__Phase_of_flight","type":"nominal","axis":{"orient":"top"}},"color":{"value":"#72b7b2"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}},{"data":{"name":"source"},"mark":"point","encoding":{"x":{"field":"Wildlife__Species","type":"nominal","scale":{"rangeStep":12}},"y":{"field":"Flight_Date","type":"temporal","scale":{},"axis":{"orient":"top"}},"color":{"field":"When__Time_of_day","type":"nominal"},"row":{"field":"When__Phase_of_flight","type":"nominal"}},"config":{"line":{"point":true},"scale":{"useUnaggregatedDomain":true}}}] | birdStrike.json | {'$schema': 'https://vega.github.io/schema/vega/v5.json', 'background': 'white', 'padding': 5, 'data': [{'name': 'source_0', 'url': 'https://gist.githubusercontent.com/light-and-salt/717fe6d266ebe7958773121d66f2edb5/raw/02630cf1a4787236f24317cb92456839735383e9/birdstrikes.json', 'format': {'type': 'json'}}, {'name': 'concat_1_row_domain', 'source': 'source_0', 'transform': [{'type': 'aggregate', 'groupby': ['When__Phase_of_flight']}]}], 'signals': [{'name': 'concat_0_x_step', 'value': 20}, {'name': 'concat_0_width', 'update': "bandspace(domain('concat_0_x').length, 1, 0.5) * concat_0_x_step"}, {'name': 'concat_0_y_step', 'value': 20}, {'name': 'concat_0_height', 'update': "bandspace(domain('concat_0_y').length, 1, 0.5) * concat_0_y_step"}, {'name': 'concat_1_x_step', 'value': 20}, {'name': 'concat_1_child_width', 'update': "bandspace(domain('concat_1_x').length, 1, 0.5) * concat_1_x_step"}, {'name': 'concat_1_child_height', 'value': 20}], 'layout': {'padding': 20, 'bounds': 'full', 'align': 'each'}, 'marks': [{'type': 'group', 'name': 'concat_0_group', 'style': 'cell', 'encode': {'update': {'width': {'signal': 'concat_0_width'}, 'height': {'signal': 'concat_0_height'}}}, 'marks': [{'name': 'concat_0_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'source_0'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'value': '#72b7b2'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"When__Phase_of_flight: " + (isValid(datum["When__Phase_of_flight"]) ? datum["When__Phase_of_flight"] : ""+datum["When__Phase_of_flight"]) + "; Airport__Name: " + (isValid(datum["Airport__Name"]) ? datum["Airport__Name"] : ""+datum["Airport__Name"])'}, 'x': {'scale': 'concat_0_x', 'field': 'When__Phase_of_flight'}, 'y': {'scale': 'concat_0_y', 'field': 'Airport__Name'}}}}], 'axes': [{'scale': 'concat_0_x', 'orient': 'top', 'grid': False, 'title': 'When__Phase_of_flight', 'labelAlign': 'left', 'labelAngle': 270, 'labelBaseline': 'middle', 'zindex': 0}, {'scale': 'concat_0_y', 'orient': 'left', 'grid': False, 'title': 'Airport__Name', 'zindex': 0}]}, {'type': 'group', 'name': 'concat_1_group', 'layout': {'padding': 20, 'offset': {'rowTitle': 10}, 'columns': 1, 'bounds': 'full', 'align': 'all'}, 'marks': [{'name': 'row-title', 'type': 'group', 'role': 'row-title', 'title': {'text': 'When__Phase_of_flight', 'orient': 'left', 'style': 'guide-title', 'offset': 10}}, {'name': 'concat_1_row_header', 'type': 'group', 'role': 'row-header', 'from': {'data': 'concat_1_row_domain'}, 'sort': {'field': 'datum["When__Phase_of_flight"]', 'order': 'ascending'}, 'title': {'text': {'signal': 'isValid(parent["When__Phase_of_flight"]) ? parent["When__Phase_of_flight"] : ""+parent["When__Phase_of_flight"]'}, 'orient': 'left', 'style': 'guide-label', 'frame': 'group', 'offset': 10}, 'encode': {'update': {'height': {'signal': 'concat_1_child_height'}}}}, {'name': 'concat_1_column_footer', 'type': 'group', 'role': 'column-footer', 'encode': {'update': {'width': {'signal': 'concat_1_child_width'}}}, 'axes': [{'scale': 'concat_1_x', 'orient': 'bottom', 'grid': False, 'title': 'Wildlife__Species', 'labelAlign': 'right', 'labelAngle': 270, 'labelBaseline': 'middle', 'zindex': 0}]}, {'name': 'concat_1_cell', 'type': 'group', 'style': 'cell', 'from': {'facet': {'name': 'concat_1_facet', 'data': 'source_0', 'groupby': ['When__Phase_of_flight']}}, 'sort': {'field': ['datum["When__Phase_of_flight"]'], 'order': ['ascending']}, 'encode': {'update': {'width': {'signal': 'concat_1_child_width'}, 'height': {'signal': 'concat_1_child_height'}}}, 'signals': [{'name': 'height', 'update': 'concat_1_child_height'}], 'marks': [{'name': 'concat_1_child_marks', 'type': 'symbol', 'style': ['point'], 'from': {'data': 'concat_1_facet'}, 'encode': {'update': {'opacity': {'value': 0.7}, 'fill': {'value': 'transparent'}, 'stroke': {'scale': 'color', 'field': 'When__Time_of_day'}, 'ariaRoleDescription': {'value': 'point'}, 'description': {'signal': '"Wildlife__Species: " + (isValid(datum["Wildlife__Species"]) ? datum["Wildlife__Species"] : ""+datum["Wildlife__Species"]) + "; When__Time_of_day: " + (isValid(datum["When__Time_of_day"]) ? datum["When__Time_of_day"] : ""+datum["When__Time_of_day"])'}, 'x': {'scale': 'concat_1_x', 'field': 'Wildlife__Species'}, 'y': {'signal': 'concat_1_child_height', 'mult': 0.5}}}}]}]}], 'scales': [{'name': 'color', 'type': 'ordinal', 'domain': {'data': 'source_0', 'field': 'When__Time_of_day', 'sort': True}, 'range': 'category'}, {'name': 'concat_0_x', 'type': 'point', 'domain': {'data': 'source_0', 'field': 'When__Phase_of_flight', 'sort': True}, 'range': {'step': {'signal': 'concat_0_x_step'}}, 'padding': 0.5}, {'name': 'concat_0_y', 'type': 'point', 'domain': {'data': 'source_0', 'field': 'Airport__Name', 'sort': True}, 'range': {'step': {'signal': 'concat_0_y_step'}}, 'padding': 0.5}, {'name': 'concat_1_x', 'type': 'point', 'domain': {'data': 'source_0', 'field': 'Wildlife__Species', 'sort': True}, 'range': {'step': {'signal': 'concat_1_x_step'}}, 'padding': 0.5}], 'legends': [{'stroke': 'color', 'symbolType': 'circle', 'title': 'When__Time_of_day', 'encode': {'symbols': {'update': {'fill': {'value': 'transparent'}, 'opacity': {'value': 0.7}}}}}]} | train |
End of preview. Expand
in Data Studio
- Downloads last month
- 52