Category "vega-lite"

how to make marker for tooltip bigger

Here's my wandb vega. The problem is, right now, it is very hard to mouse over my line and get the tooltip to show. It is like you must hover over the exact pix

Are sparklines possible in Vega-lite and/or Vega?

Came across the following example using D3 yesterday ... https://observablehq.com/@mbostock/covid-cases-by-state Is this possible to be replicated in Vega-lite

vega lite chart axis labels issue

I have used this given example chart (circle_custom_tick_labels) https://vega.github.io/editor/#/examples/vega-lite/circle_custom_tick_labels for vega lite { "d

Is it possible to left-align the row label in a Row Facet?

Is it possible to left-align the row label in a Row Facet? In this case the row field of "Sub-Category". For example, ... Accessories Appliances Art ...........

Vega-Lite: More Complex Sort Functions

https://vega.github.io/vega-lite/docs/sort.html Is there a way to pass in a more complex sort to a vega lite chart? For example could I pass something like a ja

how to layer multiple regression lines without repeating code?

I'm using Vega Lite to chart the times at which I eat my meals, and want a regression (loess) line showing the general time for each. By default, a regression u

How to show selection / calculated data in vega-lite tooltip?

I'm trying to calculate price difference of a selection in a chart provided in Vega Editor. The goal is to display a price difference in tooltip calculated as e

Opensearch and Vega retrieve null fields in composite aggregation

I'm using the VEGA visualization in OpenSearch to create a tree representation like this example from the documentation. Data are stored inside an index and I'm

How to hide the three-dot dropdown menu on a Vega chart?

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 ac

Using Altair's interval selection as a filter in a multi-view chart

In my concatenated chart, I’m using an interval selection as a filter (see the GIF, Python code, and VL spec below). Even though my selection appears to b

How to manually set a diverging color range

I am using Altair for Python and my current code uses a redyellowblue color scheme which uses the middle color (yellow) accordingly to my domainMid parameter. c

How can we proramatically generate vega grammar JSON from vega-lite plot?

I am able to get vega json grammar on local installation of nodejs with vega-lite and vega-lite-api installed through npm as follows: vl = require('vega-lite')