Help

Re: Vega-Lite Chart w/ multiple fields

316 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Federico_Triulz
5 - Automation Enthusiast
5 - Automation Enthusiast

What's up guys,

I'm struggling to implement Vega-Lite chart extension on my base, it's my first time using it. 

I'll show you an example of the base I'm working on in which I'll need to create a bar chart. It seems that I can't add multiple fields on the x axis.

If anyone can help it'd be greatly appreciated.

Screenshot 2024-02-06 alle 11.45.40.png

3 Replies 3

Hmm, could you perhaps provide a rough example of what the chart would look like with the data you've provided?

Federico_Triulz
5 - Automation Enthusiast
5 - Automation Enthusiast

Something like this (see below), pretty basic. I'd like to have the different fields I've posted in the first post in the x-axis (Lie T(M) NEW; Energia T(M) NEW; etc.) and the values (45, 62, 51, etc.) in the y-axis.

Screenshot 2024-02-06 alle 14.06.50.png

Ah...yeah, I don't think the extension's built to display data in a single row like that easily, and so you probably need to transpose the data I'm afraid

Probably someone with more VegaLite experience than me will be able to come up with a solution that lets you display the chart like that while keeping your data intact