Questions tagged [vega]
Vega is a visualization grammar, a declarative language for creating, saving, and sharing interactive visualization designs.
vega
1,003
questions
0
votes
1
answer
24
views
Vega via Deneb in Power BI sankey chart grouped source and target names
I d like to create a sankey chart chart using vega in Deneb. I found an article online and I have the following code, but I would like to show the countries grouped
currently my result is like this, ...
1
vote
1
answer
17
views
How I make dissapper text value on Condition in VegaLite Chart
I am trying to create a group bar chart with text value over the bar,
Chart seems good when there is no zero value, but when there is zero value in data then bar not make but label (text) are visible ...
-2
votes
0
answers
11
views
Vega lite spec to show difference between original y point and predicted regression
I can code the regression but cannot figure out how to then reintroduce the original data to get the difference. Inputs are a series of y and x and then regression transform with 2nd order polynomial ...
0
votes
0
answers
12
views
Issues in adding legend interactivity to the vega lite chart rendering React component
I was working on adding legend interactivity to the chart generated from below vega lite spec:
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description&...
1
vote
0
answers
15
views
Need to show table using vega script
I want to show below data as table using vega script , I am building a dashboard in kibana and getting following response from elastic , now I need to render the below data as table, required columns ...
1
vote
1
answer
28
views
How to add '%' sign in text label over bar In vegaLite
I am trying to create a group bar chart with text Labels.
I am not able to find how to '%' in text label over bar.
Is there any way so that i can achive this?
expected text over bar -> for 50 it ...
0
votes
0
answers
12
views
What are default values of titleX (y axis) and titleY (x axis) in VegaLite
I am trying to create chart in VegaLite.
In chart I am trying to titleX of axis vai params but i am facing a issue if i did not able to provide default value of titleX (means what value is used by ...
1
vote
1
answer
13
views
Conditional X-axis short month labeling (Jan, Feb etc.)
In Deneb vega-lite for Power BI, I have ran into an issue where my data for a certain segment of data is not labeled as the beginning of the month (04/01) is not shown, due to the nature of this ...
0
votes
0
answers
11
views
Vega kibana node graph with mesh
We are currently working on a node graph.
We are sending mqtt msg over an esp to kibana and there we want to visualize a graph of basically what node is connected with which node.
and our msgs have ...
0
votes
1
answer
33
views
How I avoid ',' in y axis label in VegaLite?
I am trying to creating a chart in VegaLite. I have a specific requirement for y axis label I did not want to display ',' in y axiss value label.
For example - 15,000 (in vegalite showing) but I ...
2
votes
0
answers
31
views
Adding Status Monitoring Logic to Org Chart
Hi Everyone,
I've created an org chart using Davide Bacci's template. The chart works as expected, but I want to add status monitoring logic and I'm having trouble with it. By default, the Tier 3 ...
0
votes
0
answers
10
views
Event in Vega specification is evaluating to to the wrong value when it is False
I am making a modification to this Vega code. I have made
a modification and added a field called DCOUNT_ID. It is a distinct count that flexes based on the number of tasks in the result set.
When I ...
0
votes
1
answer
62
views
Using a list of colors for a bar chart in Altair
I am trying to provide a list of colors to bind to the bar marks in Altair, similar to how matplotlib's pyplot.bar(color=list_of_colors) can specify the color for each individual bar, like in the ...
1
vote
1
answer
45
views
Show y axis lines even though all values are zero
I am currently working on a grouped + stacked column chart in Vega. Is there a way to still display the y axis lines even with the data on both bars being all zero values?
Let's say I still want it ...
1
vote
1
answer
36
views
Vega chart center bar in dynamic number of columns
I am trying to make a clustered column chart in Vega where in if the values in the category are positive and negative, they are going to be stacked in one column but if the values in the category are ...