Closed domoritz closed 6 months ago
{ "$schema": "https://vega.github.io/schema/vega-lite/v4.json", "data": {"url": "data/penguins_size.csv"}, "mark": "point", "encoding": { "x": { "field": "body_mass_g", "type": "quantitative", "scale": {"zero": false} }, "y": { "field": "flipper_length_mm", "type": "quantitative", "scale": {"zero": false} }, "color": {"field": "species", "type": "nominal"}, "shape": {"field": "species", "type": "nominal"} } }
{ "$schema": "https://vega.github.io/schema/vega-lite/v4.json", "data": { "url": "data/movies.csv" }, "layer": [ { "mark": { "type": "point", "filled": true }, "encoding": { "x": { "field": "Rotten Tomatoes Rating", "type": "quantitative" }, "y": { "field": "IMDB Rating", "type": "quantitative" } } }, { "mark": { "type": "line", "color": "firebrick" }, "transform": [ { "loess": "IMDB Rating", "on": "Rotten Tomatoes Rating" } ], "encoding": { "x": { "field": "Rotten Tomatoes Rating", "type": "quantitative" }, "y": { "field": "IMDB Rating", "type": "quantitative" } } } ] }
Related pull request https://github.com/vega/vega-lite/pull/4993
It's already fixed at v5.17.0 Open the Chart in the Vega Editor