Skip to content

Is VegaFusion usable in Panel/Lumen? #396

Answered by jonmmease
kszlim asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah. For the example of a histogram (like this), VegaFusion will produce a Vega spec that has had binning and aggregation applied, so there will be one row of inline data for each histogram bar. The pre-transformed spec can be rendered by any regular Vega renderer.

But if the spec uses Vega-Lite selections to perform cross-filtering across histograms (like this), then it's not possible to evaluate the histogram binning and aggregation up front, because it would break the interactive behavior of the chart. In cases like this, the mime renderer needs to inline the full dataset in the resulting Vega spec.

VegaFusionWidget has a special Vega renderer that knows how to send interactive select…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@kszlim
Comment options

@jonmmease
Comment options

Answer selected by kszlim
@kszlim
Comment options

@jonmmease
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants