Replies: 4 comments 3 replies
-
To bring this forward, I should create an vega lite example in various languages. So converting: {
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "A simple bar chart with embedded data.",
"data": {
"values": [
{"a": "A", "b": 28}, {"a": "B", "b": 55}, {"a": "C", "b": 43},
{"a": "D", "b": 91}, {"a": "E", "b": 81}, {"a": "F", "b": 53},
{"a": "G", "b": 19}, {"a": "H", "b": 87}, {"a": "I", "b": 52}
]
},
"mark": "bar",
"encoding": {
"x": {"field": "a", "type": "nominal", "axis": {"labelAngle": 0}},
"y": {"field": "b", "type": "quantitative"}
}
} into the altair python code ? |
Beta Was this translation helpful? Give feedback.
-
yes, thanks. I did not "search" in you examples. |
Beta Was this translation helpful? Give feedback.
-
Just for information . So did you recreate an Altair example for all examples here: http://vega.github.io/vega-lite/examples/ It looks like being the case. |
Beta Was this translation helpful? Give feedback.
-
Ok, would you eventually consider to move your examples to the vega-lite website, You should be able to just "move" them in one go from here They might need some bulk renaming, as the vega lite website uses "name" while your site uses "title". |
Beta Was this translation helpful? Give feedback.
-
I started here
vega/vega-lite#7758
a discussion to make the official vega lite example gallery polyglot,
so showing the specification of all the example in various languages.
Maybe you are interested.
Beta Was this translation helpful? Give feedback.
All reactions