Vega-Lite multiple layer chart with selection

Viewed 64

I am trying to recreate a report that was done in Tableau, using Vega-Lite. I'm not entirely sure if it is possible to do it. I'm struggling with the bar charts based upon the selection made in the scatterplot. The bar chart should be created as follows:

  1. Selected item
  2. All entries in the reference box (light blue area) - (excl. the selected item)
  3. All other entries outside the reference box (excl. the selected item)

If it is possible to create a similar chart/interaction in Vega-Lite, can someone please guide me towards a solution. Attached my attempt to recreate ( Open in Vega Editor )

Any assistance or guidance is appreciated. Thanks

0 Answers
Related