[ { "data": { "name": "source" }, "mark": "square", "encoding": { "y": { "field": "Year_of_Release", "type": "nominal", "scale": { "rangeStep": 12 } }, "x": { "field": "Critic_Score", "type": "quantitative", "scale": {} }, "detail": { "field": "Name", "type": "nominal" }, "row": { "field": "Genre", "type": "nominal" }, "color": { "field": "User_Score", "type": "quantitative" }, "size": { "field": "Global_Sales", "type": "quantitative" } }, "config": { "line": { "point": true }, "scale": { "useUnaggregatedDomain": true } }, "description": "Unfiltered view of the data sorted by year with higher critical scores placed on the right side of the graphs. The size of the squares is representative of the global sales figures which is a combination of all the regional sales data + minor regions not normally listed. The tint of the square correlates to the user score, so if the square is very large, dark blue in colour and located on the right side of the graph, the sales line up with the review scores" }, { "data": { "name": "source" }, "mark": "square", "encoding": { "y": { "field": "Year_of_Release", "type": "nominal", "scale": { "rangeStep": 12 }, "axis": { "orient": "left" } }, "x": { "field": "Critic_Score", "type": "quantitative", "scale": {} }, "row": { "field": "Genre", "type": "nominal" }, "color": { "field": "User_Score", "type": "quantitative" }, "size": { "field": "Global_Sales", "type": "quantitative" }, "detail": { "field": "Name", "type": "nominal" } }, "config": { "line": { "point": true }, "scale": { "useUnaggregatedDomain": true } }, "transform": [ { "filter": { "field": "Gameplay Focus", "oneOf": [ "", "x" ] } }, { "filter": { "field": "Story Focus", "oneOf": [ "x", "" ] } }, { "filter": { "field": "Series", "oneOf": [ "x", "" ] } }, { "filter": { "field": "Genre", "oneOf": [ "Role-Playing", "Strategy", "Sports", "Simulation", "Fighting", "Adventure", "Action", "Shooter", "Misc", "Platform", "Puzzle", "Racing" ] } } ], "description": "" } ]