Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

136
Vistas
Vega Lite - Filter out bar chart values by interacting with legend

I’m currently building a Vega-Lite chart and one requirement is that it needs to be interactive with the legend as you can see in the images below:

Vega lite bar chart | Vega lite bar chart filtered

The idea is that when I click on a legend item, the values matching in every bar should be filtered out (disappear) instead of being highlighted. I think it should be pretty straightforward but I doubt if it's possible.

Here's the prototype I'm currently building in Vega-Lite Editor

I'm currently using params for creating a binding with the legend and then transform > filter, but the result is that when I click, all the legend items are filtered out except the selected one.

Any idea or suggestion is more than welcome!

about 4 years ago · Santiago Gelvez
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda