io.github.quafadas.plots

Members list

Type members

Classlikes

object SetupVega

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:

  • Plottable instances for converting data types to visualizations
  • vegaFlavour for specifying Vega vs Vega-Lite
  • Circe JSON given instances for serialization
  • VegaPlot macro for compile-time spec validation
  • VegaSpec type for representing Vega specifications
  • Circe Json type and json string interpolator for JSON construction

Attributes

Supertypes
class Object
trait Matchable
class 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 Object
trait Matchable
class Any
Self 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 Object
trait Matchable
class Any
Self type