Relative Content

Tag Archive for vega-lite

How to show conditional tooltip based on field?

I have a timeline chart with multiple transaction types (CASH, INV, CM etc.). Each transaction type will have different metadata that is relevant, and I’d like to surface that in the tooltips, and thus make them conditional on trx_type.

How to show conditional tooltip based on field?

I have a timeline chart with multiple transaction types (CASH, INV, CM etc.). Each transaction type will have different metadata that is relevant, and I’d like to surface that in the tooltips, and thus make them conditional on trx_type.

Identical Selections

I have several vconcat plots that all share an x-axis. As I have a helpful label assigned to each selection, I would like the selection to be shared by all plots. That is, if I create a selection on any plot, that selection should appear on all plots. If I remove a selection from any plot, it should be removed from all plots.

Power BI: Deneb/Vega-lite Sorting Specification

I am attempting to sort the Y axis based on a numeric field already available in my dataset, however, the sorting does not seem to work. See full specifications below. The sorting section is outside of the layer and in the y encoding channel.

Vega Lite Map is not showing up

Hello I am very new in using Vega lite, I want to try to use the data from https://automaticknowledge.org/wpc-hex/uk-constituencies-2024-21-june-24.geojson to show the UK election result on the map, but nothing show up, is this something to do with the URL ?