{ "height": 600, "mark": { "opacity": 0.1, "type": "point" }, "data": { "url": "https://vega.github.io/vega-lite/data/movies.json" }, "width": 600, "$schema": "https://vega.github.io/schema/vega-lite/v4.json", "encoding": { "x": { "field": "IMDB_Rating", "type": "quantitative", "axis": { "tickSize": { "value": 5, "condition": { "value": 20, "test": "(datum.value > 0) && (datum.value < 3)" } }, "tickWidth": { "value": 2, "condition": { "value": 5, "test": "datum.label =='4.0'" } }, "tickDash": { "value": [], "condition": { "value": [ 2, 2 ], "test": "(datum.value >= 5) && (datum.value <= 8)" } }, "tickCount": 20, "tickOpacity": { "value": 0.8, "condition": { "value": 0.3, "test": "datum.value >=8" } }, "labelPadding": { "value": 5, "condition": { "value": 20, "test": "(datum.value >= 1) && (datum.value <= 4)" } }, "tickColor": { "value": "blue", "condition": { "value": "red", "test": "datum.value <= 2" } } } }, "y": { "field": "Rotten_Tomatoes_Rating", "type": "quantitative" } } }