I have a chart of Washington, DC condo prices and I'd like one of the drop down options to be "Year built". This is my code so far: However, when I ...
I have a chart of Washington, DC condo prices and I'd like one of the drop down options to be "Year built". This is my code so far: However, when I ...
I'm plotting a boxplot graph using Altair to divide the data into groups (similar to what was done here: Altair boxplot with nested grouping by two ca ...
Using Altair charting, how can I create a chart of value_counts() of multiple columns? This is easily done by matplotlib. How can the identical chart ...
I'd like to show the chart below, but with the x-axis on a log scale. To be clear, I don't want to log X first, rather I want the numbers to stay ...
I have a simple plot withe the color scheme dark2 I'd like to add a dropdown selector that allows the user to switch between dark2 and accent. I' ...
I'm trying to limit the numbers after the decimal in the text displayed in my graph, but I'm having a hard time doing so inside a transform_calculate ...
How can I add the numbers of observations per group to a boxplot with altair? I am looking for something like this: But I am also open to other so ...
For a bar chart, I can set round corners in the following way: Is it somehow possible to do the same for boxplots (of course for all four corners)? ...
I am trying to make a layered chart in Altair and running into an issue. Sample code This gives the following result The issue that I am fa ...
I'm trying to make the x axis be a slice of the string of longspecies, but I want longspecies to show up as the legend. I've tried a couple different ...
Following a frequent issue in Altair: merging legends 1 merging legends 2 combining color and shape I want to plot several point series with line plo ...
I use the code below to create this faceted chart: https://vega.github.io/editor/#/gist/a9f238f389418c106b7aacaa10561281/spec.json I would like to ...
I am very new to altair. I'm trying to write code creates a scatterplot on the left and an image preview pane on the right. When you click on a point ...
I am trying to add vertical lines indicating the average of datasets in a layered histogram in Altair (based on their example). My attempt below is fa ...
I'm trying to create an Altair heat map where the color is white when my count is zero. Here is my data frame: The encoding gives me this chart (w ...
So I have columns of data, one of which is the average - which I want to show, and one of which is the std deviation - which I want the error bars of ...
Vega itself provides circle packing via the pack transform. You can find an example plot here. I cannot find the pack transformation in the altair do ...
I was learning how to use altair, and the first thing I did was to reproduce a standard example straight from the official documentation. But there wa ...
I want to use Streamlit in my organization, but my org does not allow Altair installation internally due to safety issues, but Altair is a dependency ...
I am trying to plot a chart from a spreadsheet with this code. I got this part of the code from the Altair Documentation This is to mitigate the ...