Skip to main content

Questions tagged [vega-lite]

Vega-Lite is a high-level grammar of interactive graphics. It provides a concise JSON syntax for rapidly generating visualizations to support analysis. Vega-Lite specifications can be compiled to Vega specifications.

vega-lite
0 votes
0 answers
18 views

conditionaly fill the color to Shape path co-ordinates in Vega-lite

I am trying to fill the path co-ordinates diagram based on the value. but unable to make it. It is possbile in SVG and trying the same in vega-lite. the SVG based one is below. ref: [1]: https://...
sen's user avatar
  • 51
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 ...
Mohit's user avatar
  • 355
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&...
Raghav Mittal's user avatar
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 ...
Umesh Patidar's user avatar
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 ...
sen's user avatar
  • 75
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 ...
Mohit's user avatar
  • 355
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 ...
Mohit's user avatar
  • 355
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 ...
Jflo3500's user avatar
1 vote
0 answers
18 views

Bind sort to parameter , add input sorting option

I would like to know if it is possible to to bind a sort order and sort field to a parameter. Id like to allow users to select from the option lists which field and what sorting order they would like ...
Flynn Fu's user avatar
1 vote
0 answers
18 views

Highlight selected interval in Observable Vegalite

I am creating a graph where the user can select an interval on the graph and the part will be different color than the other parts on the graph. The following is part of the code for creating the ...
David Wang's user avatar
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 ...
Mohit's user avatar
  • 355
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 ...
Mag's user avatar
  • 39
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 ...
Muhammed Thakur's user avatar
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 ...
Mohit Chawla's user avatar
1 vote
1 answer
54 views

Conditional tick mark removal?

Can tick marks be removed where there is no label in deneb? We also want to keep the max amount of gridlines possible. Before After I tried using the conditional labels/located in the documentation, ...
Jflo3500's user avatar

15 30 50 per page
1
2 3 4 5
95