...
Confluence prism macro | ||
---|---|---|
| ||
{ "$schema": "https://vega.github.io/schema/vega-lite/v5.json", "description": "A scatterplot showing body mass and flipper lengths of penguins.", "data": { "url": "https://vega.github.io/vega-lite/data/penguins.json" }, "mark": "point", "encoding": { "x": { "field": "Flipper Length (mm)", "type": "quantitative", "scale": {"zero": false} }, "y": { "field": "Body Mass (g)", "type": "quantitative", "scale": {"zero": false} }, "color": {"field": "Species", "type": "nominal"}, "shape": {"field": "Species", "type": "nominal"} } } |
The code above is rendered by "Prism Syntax Highlighter for Confluence" which supports highlighting JSON syntax.
👉 Check out the official Vega-Lite documentation here https://vega.github.io/vega-lite/docs/ .
...