PlotTargets
Attributes
- Graph
-
- Supertypes
- Self type
-
PlotTargets.type
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- SharedTargets
- Supertypes
Attributes
- Inherited from:
- SharedTargets
- Supertypes
Value members
Concrete methods
Givens
Givens
This PlotTarget uses a mimetype of application/vnd.vega.v5+json to display Vega plots in Jupyter / VS Code notebooks. This strategy doesn't appear to be well supported, it will not display in NBViewer or github for example.
This PlotTarget uses a mimetype of application/vnd.vega.v5+json to display Vega plots in Jupyter / VS Code notebooks. This strategy doesn't appear to be well supported, it will not display in NBViewer or github for example.
Attributes
A PlotTarget implementation for rendering Vega-Lite visualizations in Almond Jupyter notebooks.
A PlotTarget implementation for rendering Vega-Lite visualizations in Almond Jupyter notebooks.
This target creates an HTML div container with a unique ID, applies custom styling for proper embedding, and executes JavaScript to load Vega, Vega-Lite, and Vega-Embed libraries from CDN before rendering the visualization specification.
The rendering is performed asynchronously using ES modules imported from jsDelivr CDN. Any errors during the rendering process are caught and displayed as red error messages in the output div.
Attributes
- Note
-
Requires an implicit
JupyterApi(Almond kernel) to be in scope for publishing HTML and JavaScript content to the notebook.The visualization is rendered in "vega-lite" mode using vega-embed.