All Questions
Tagged with visualization vega-lite
248
questions
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 ...
1
vote
1
answer
19
views
Strip plot chart using Vega-Lite
I am trying to get the count of each catagrogy and show as a data label in the right side. I seen an sample in linked and i tried to bring the same but somehow im not able to achieve it.
Sample
And ...
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 ...
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 ...
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 ...
1
vote
1
answer
27
views
How i stop Vegalite to rounding of y axis Tick label
I am creating a chart in which i want axis values should be same digit after decimal point as in data , i want this data driven .
I know format in axis but i want to avoid this because it create view ...
1
vote
1
answer
47
views
How can i sort categories in Deneb heatmap visual?
enter image description here
I use Deneb Heatmap. When i dont use data labels it shows with correct sort, but when it comes to demonstrating data labels (in my code it is "days") it is ...
1
vote
1
answer
22
views
y axis scale ticks for small decimal value in Vegalite
I am trying to create a chart in vegaLite having dual axis. Issue is that, the second y axis value are in decimal, if i do not use format for second y axis, then it simply makes format with 4 decimal ...
1
vote
1
answer
39
views
Deneb (Vega lite) fixed hconcat widths when filtering
How can I fix the widths of visuals when concatenated with hconcat in Vega Lite such that they don't move when filtering?
I've set width values for my visuals inside the hconcat list, expecting would ...
1
vote
1
answer
38
views
how i aligned grid lines in dual axis chart vegaLite
I am trying to create a dual axis chart in vegaLite ,when i make grid true for both layer then grid lines of y axis is not aligned i want align eqaully and provide better viz. for analysis.
Editor ...
2
votes
1
answer
24
views
Vega lite tooltip when hovering stacked bar text marks
With text marks on stacked bar charts, is there a way to avoid duplicating the tooltip code so that the tool tip is the same when hovering over the text marks?
Example adjusted from here. Note the ...
1
vote
1
answer
24
views
First bar highlight by a specific color in VegaLite Bar chart
I want to create a bar chart in vegalite for top 10 performance students but highest score student at the starting must be with specific color rest all remain same .
I want this independent of data ...
2
votes
1
answer
40
views
Label wrapping with stacked bar charts
I'm attempting to split the label on the x axis in a vega-lite stacked bar chart so that the text wraps. Using the below, while the text does wrap, the rest of the chart breaks in a confusing way.
(...
1
vote
2
answers
43
views
vega lite colour text using a field
I have a stacked bar chart with text marks that I want coloured according to field 'text_value'.
This is what I have now, however the top text values should be coloured black according to the color ...