io.github.quafadas.plots
Members list
Type members
Classlikes
Provides a convenient single-import setup for Vega visualization capabilities.
Provides a convenient single-import setup for Vega visualization capabilities.
This object aggregates and re-exports all essential types and implicits needed to create Vega visualizations, but does not include a rendering target (e.g., browser, file). Users should import from this object when they want to define Vega specifications and will configure the output target separately.
Exports include:
Plottableinstances for converting data types to visualizationsvegaFlavourfor specifying Vega vs Vega-Lite- Circe JSON given instances for serialization
VegaPlotmacro for compile-time spec validationVegaSpectype for representing Vega specifications- Circe
Jsontype andjsonstring interpolator for JSON construction
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SetupVega.type
Provides Vega-Lite plotting setup utilities for REPL environments.
Provides Vega-Lite plotting setup utilities for REPL environments.
This object contains configurations and given instances needed to render Vega-Lite visualizations in Scala REPL sessions.
Usage:
import io.github.quafadas.plots.SetupVegaBrowser.{*, given}
Attributes
- See also
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SetupVegaBrowser.type
Sends a Vega-Lite specification to a local WebSocket server for visualization.
Sends a Vega-Lite specification to a local WebSocket server for visualization.
Before calling this method, you must start the WebSocket server by running the following command in a separate terminal:
cs launch io.github.quafadas:dedav4s_3:0.10.0 -M viz.websockets.serve -- 8085
After the server is running, visualizations will be displayed at http://localhost:8085 and are updated via a websocket message every time the plot method is called, with eith the websocket or publishToPort plot target given in scope.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SetupVegaServer.type