Skip to content

Add inspector to Vega vis #31189

@nyurik

Description

@nyurik

When developing a Vega visualization it is paramount to be able to view the underlying data in the different stages of processing by Vega language. Data inspector is a perfect fit, but it is not being supported by Vega at the moment. We should add the following capabilities to the inspect view:

  • View the state of the data sources after all transformations have been applied. This is the same data as viewable from the browser debug console with VEGA_DEBUG.view.data('<source name>'). The standalone Vega editor already implements it in this way:
    image
  • View all ES requests made by Vega (stats/request/response). This is probably a bit less critical than the data viewer, but highly useful nevertheless.
  • We may want to support other internal Vega state such as signal values.

See Vega debugging API.

Metadata

Metadata

Labels

Feature:VegaVega visualizationsTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions