vega Questions

3

Solved

I'm using Vega JS for building a tree chart. In general, my question is the following: Vega documentation has a great example of tree layout. How can I extend it with an ability to collapse & e...
Stelmach asked 23/9, 2021 at 15:28

2

Solved

I have a simple chart embedded in my website. Using the vega-lite spec v5. Here's an example: The circle with three dots triggers a drop-down menu with some actions, including opening the chart in...
Fauve asked 3/9, 2020 at 1:45

1

Solved

I'd like to remove / hide the axis lines from the vega-lite chart below. I've tried changing the colour to null (as below) or other colours and that doesn't work. https://vega.github.io/editor/#/gi...
Emolument asked 1/4, 2022 at 14:58

3

Solved

I can't find an example of a state/class/flow chart/org chart diagram with Vega. Are there any out there? It feels like Vega is perfectly suited for this (if a bit overpowered), but without an exa...
Corn asked 27/2, 2020 at 0:12

1

Solved

What could be the reason that an import statement would cause an error (attached image) if the syntax is correct and the library has already been installed? Could it be something in the two main se...
Gladiate asked 11/8, 2021 at 6:16

1

I have installed vega & vega-lite & vega-embed using npm and now I am following the instructions here on how to embed a graph into my own page (not display it inside vs-code as the vega-emb...
Paletot asked 10/8, 2021 at 7:40

1

Solved

I recently started getting into Vega to reduce the amount of D3.js coding for more or less typical charts. However, for complex dashboards, interactions between the Vega charts using signals is sti...
Karlie asked 18/2, 2021 at 8:30

1

Solved

I recently started tinkering with Vega-Lite templates to make a confusion matrix for an open-source data science software called DVC. You can see the template in my PR here, but I'll also repeat a ...
Sorrento asked 23/10, 2020 at 16:42

1

Solved

I am attempting to understand how date parsing in Vegalite works. Specifically, I am a bit confused in my understanding of default timezone assumptions and date parsing from a non-timezone denoted ...
Hedjaz asked 12/10, 2020 at 14:29

3

Solved

I am trying to develop an interactive chart using Vega-Lite but I am not able to find any documentation that refers to interactive chart, mainly eventlisteners. So, wanted to know if Vega-Lite has...
Clerestory asked 9/2, 2016 at 23:50

1

The code work perfectly in the vega online editor. But there are warnings in the console while using in react component and the X-axis is not rendering in the output. import React from 'react'; im...
Lipinski asked 30/4, 2020 at 3:42

1

Solved

I have an Angular pie chart component built through VegaEmbed (https://github.com/vega/vega-embed) which uses Vega and D3 as underlying graphics dependencies. It renders from supplying a title and ...
Cypsela asked 2/3, 2020 at 10:57

1

Solved

Much to my chagrin, I've discovered that an Ionic 4 app that I've developed and tested successfully on my Android (8.0) phone, as well as on an iPhone, freezes on the splash screen on an Android (8...
Lissie asked 6/1, 2020 at 3:47

1

Solved

I am following this example to create a bar chart with conditional color formatting on negative values: import altair as alt from vega_datasets import data source = data.us_employment() alt.Cha...
Police asked 20/12, 2019 at 15:0

2

Solved

I'm very new to mapping, and to Altair/Vega. There's an example in the Altair documentation for how to make a map starting with an outline of US states, which is created basically with: states = ...
Evaleen asked 30/4, 2019 at 14:38

3

I want to know if there is any way that I can specify the size of the inline-plots in Jupyter. At the moment, I use Vega library and width and height don't work. There is any workaround.
Urian asked 3/5, 2017 at 3:11

0

I am working with my first Vega visualization with Kibana. { $schema: https://vega.github.io/schema/vega-lite/v2.json title: Event counts from all indexes data: { url: { %context%: true %t...
Picaresque asked 7/3, 2019 at 14:47

1

Solved

My JSON data is a list of objects, each object contains the date in this format: "date" : { "year" : 2019, "month" : 2, "day" : 17 }, How can I tell Vega-lite that this is a da...
Teeming asked 22/2, 2019 at 22:19

1

Solved

When using the altair package I've noticed that when a chart is created a plot legend is also generated. The follow code: import altair as alt from vega_datasets import data alt.renderers.enable('...
Suffocate asked 30/10, 2018 at 15:29

1

I am new to Vega and Vega-Lite. I am creating a simple bar chart using Vega-Lite but I am not able to add any event listeners e.g. "hover". I want to hover a bar and change the color of the bar. ...
Justin asked 9/2, 2016 at 19:49

1

Solved

A current project requires us to use Vega Visualization Grammar wherever possible and otherwise fall back to D3.js. 3D-surface plots are not part of the Vega's gallery of examples, however Vega Doc...
Funicular asked 19/9, 2018 at 12:51

1

Solved

Trying to get Altair to work with Jupyter Notebook, I installed it using conda install -c conda-forge altair vega_datasets notebook vega But when I try to do an example plot import altair as al...
Befriend asked 25/8, 2018 at 23:49

1

Solved

I have a list of words and phrases together with as score and a definition for each. I would like to present this as an interactive wordcloud where the text sizes are determined by the scores and t...
Elliellicott asked 4/3, 2018 at 0:46

1

Solved

Vega/Vega Lite plots have a faint gray border around them... is it possible to remove this via a configuration parameter, or do I need to render as SVG and use CSS to do so?
Mireillemireles asked 1/10, 2017 at 18:7

1

Solved

Following Vega-Lite's Seattle weather tutorial, it was easy to plot avg min temperature by month: { "$schema": "https://vega.github.io/schema/vega-lite/v2.json", "data": { "url": "https://vega....
Labrie asked 18/7, 2017 at 7:15

© 2022 - 2024 — McMap. All rights reserved.