vega-lite Questions
1
Solved
I'm new to Vega-lite and I'm trying to figure out if line breaks are possible in axis titles. I have a long axis titles, e.g.:
"Long axis title is too long to fit under the graph"
I've tried:
"L...
Polliwog asked 19/7, 2019 at 16:10
1
Solved
I'm trying to make a simple stacked bar chart, only on the X axis. I have it working, with two values of 50, and 250. So the max of the X axis shows as 300.
How do I force that to another value, l...
Atal asked 13/3, 2019 at 3:53
3
Solved
I want each subplot to sort the labels based on the value defining the size of the bar.
See example image:
data = {'label': ['A','A','B','B'], 'variable': ['x', 'y', 'x', 'y'], 'value':[2,4,3,1...
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...
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...
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?
1
Solved
This question shows a way to add multiple time series to a vega-lite chart:
How to plot several variables on an axis with Vega-Lite?
Is there a way to put the second series on the secondary Y axi...
Singlehanded asked 10/8, 2017 at 10:4
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....
1
I am currently assessing what type of js chart engine I should use for out of the box charts, and vega-lite has stood out as pretty simple and flexible at the same time. However, I am wondering whe...
1
Solved
I want to change the default blue color of a bar in a Vega-Lite bar chart. How can I do it? I am posting the json specification below:
{
"data": {
"values": [
{"a":"A", "b":28}, {"a":"B", "b":5...
Godship asked 8/2, 2016 at 20:45
© 2022 - 2024 — McMap. All rights reserved.