# \#altair

**URL:** https://discourse.holoviz.org/tag/altair/40.md

[Latest](https://discourse.holoviz.org/latest.md) · [Categories](https://discourse.holoviz.org/categories.md) · [Tags](https://discourse.holoviz.org/tags.md)

---

## [Flexbox with "flex-grow" items and Vega/Altair Chart](https://discourse.holoviz.org/t/flexbox-with-flex-grow-items-and-vega-altair-chart/6850)

<div class="topic-metadata">

**Author:** [@bertcoerver](https://discourse.holoviz.org/u/bertcoerver)\
**Replies:** 0\
**Last updated:** [February 7, 2024, 4:45pm UTC](https://discourse.holoviz.org/t/flexbox-with-flex-grow-items-and-vega-altair-chart/6850 "2024-02-07T16:45:52Z")

</div>

Hello, I’m trying to make a pn.FlexBox that contains pn.pane.Vega items. I can set up the flexbox correctly like this: import panel as pn import altair as alt pn.extension("vega") chart = alt.Chart().mark\_line().encod…

---

## [Dropdown widget and altair - best practice for speed](https://discourse.holoviz.org/t/dropdown-widget-and-altair-best-practice-for-speed/5654)

<div class="topic-metadata">

**Author:** [@aaronr](https://discourse.holoviz.org/u/aaronr)\
**Replies:** 1\
**Last updated:** [July 7, 2023, 4:56am UTC](https://discourse.holoviz.org/t/dropdown-widget-and-altair-best-practice-for-speed/5654 "2023-07-07T04:56:00Z")

</div>

Hi, I have a relatively complex altair visualisation (concatenation of charts with various selections), and I’m looking to pair it with panel dropdowns. Basically, the dropdowns are to select different datasets. Each da…

---

## [Relate data point with Altair's selection\_point after transform\_aggregation](https://discourse.holoviz.org/t/relate-data-point-with-altairs-selection-point-after-transform-aggregation/5435)

<div class="topic-metadata">

**Author:** [@jhu](https://discourse.holoviz.org/u/jhu)\
**Replies:** 0\
**Last updated:** [May 31, 2023, 12:18am UTC](https://discourse.holoviz.org/t/relate-data-point-with-altairs-selection-point-after-transform-aggregation/5435 "2023-05-31T00:18:20Z")

</div>

Regarding this issue: Support point selections in VegaLite/Altair · Issue #3398 · holoviz/panel · GitHub After clicking a point in the chart, I see vega\_multi.selection collects index number of the data point. But if d…

---

## [Panel+Altair on Pyscript](https://discourse.holoviz.org/t/panel-altair-on-pyscript/5286)

<div class="topic-metadata">

**Author:** [@liquidcarbon](https://discourse.holoviz.org/u/liquidcarbon)\
**Replies:** 0\
**Last updated:** [May 4, 2023, 3:41pm UTC](https://discourse.holoviz.org/t/panel-altair-on-pyscript/5286 "2023-05-04T15:41:31Z")

</div>

Hello! I’m trying to build a simple panel dashboard where you upload an XML file, parse it, and display an altair plot in a Vega pane. There’s some sensitive data so I can’t show full example, but here’s the gist. \<s…

---

## [Panel, altair, filtering doesn't work on linked chart/table](https://discourse.holoviz.org/t/panel-altair-filtering-doesnt-work-on-linked-chart-table/4919)

<div class="topic-metadata">

**Author:** [@pepopepa](https://discourse.holoviz.org/u/pepopepa)\
**Replies:** 0\
**Last updated:** [February 8, 2023, 4:49pm UTC](https://discourse.holoviz.org/t/panel-altair-filtering-doesnt-work-on-linked-chart-table/4919 "2023-02-08T16:49:44Z")

</div>

The code below is an adaptation from the official panel vega guide. I wanted to add an additional dropdown filter, so I can select an Island and then select different values based on the defined brush, but it doesn’t wor…

---

## [Problem with panel and altair library integration in django templates](https://discourse.holoviz.org/t/problem-with-panel-and-altair-library-integration-in-django-templates/3689)

<div class="topic-metadata">

**Author:** [@Julito9473](https://discourse.holoviz.org/u/Julito9473)\
**Replies:** 0\
**Last updated:** [May 11, 2022, 9:38am UTC](https://discourse.holoviz.org/t/problem-with-panel-and-altair-library-integration-in-django-templates/3689 "2022-05-11T09:38:06Z")

</div>

This is my first question. I am making a server in django, in which I use altair to create a series of graphs and after passing them by context, display them in an html. Now I want to make my charts interactive with pane…

---

## [MultiSelect not working with Altair](https://discourse.holoviz.org/t/multiselect-not-working-with-altair/3370)

<div class="topic-metadata">

**Author:** [@kieren](https://discourse.holoviz.org/u/kieren)\
**Replies:** 1\
**Last updated:** [February 17, 2022, 9:24am UTC](https://discourse.holoviz.org/t/multiselect-not-working-with-altair/3370 "2022-02-17T09:24:35Z")

</div>

I am using Altair to generate my plots (As i need the linked bar-chart selection) and Panel to create my dashboard. I have two dropdowns, where the values in the second are conditional on the value in the first. When I …

---

## [Vega, altair panel datetime label values are wrong](https://discourse.holoviz.org/t/vega-altair-panel-datetime-label-values-are-wrong/2216)

<div class="topic-metadata">

**Author:** [@hseppaenen](https://discourse.holoviz.org/u/hseppaenen)\
**Replies:** 2\
**Last updated:** [April 28, 2021, 9:54pm UTC](https://discourse.holoviz.org/t/vega-altair-panel-datetime-label-values-are-wrong/2216 "2021-04-28T21:54:11Z")

</div>

This minimal example shows different time labels for x-axis in notebook depending if plotting directly or in panel. Is there an easy fix? import panel as pn import matplotlib.pyplot as plt import altair as alt pn.extens…

---

## [Tabbed dashboard with altair, folium, and custom template](https://discourse.holoviz.org/t/tabbed-dashboard-with-altair-folium-and-custom-template/1999)

<div class="topic-metadata">

**Author:** [@kavvkon](https://discourse.holoviz.org/u/kavvkon)\
**Replies:** 2\
**Last updated:** [March 18, 2021, 5:22am UTC](https://discourse.holoviz.org/t/tabbed-dashboard-with-altair-folium-and-custom-template/1999 "2021-03-18T05:22:39Z")

</div>

Hi all! I have recently developed a dashboard to explore the merit order of power plants in Europe. Source code : https://github.com/kavvkon/power-merit-Eur Live version (heroku free tier) : https://power-merit.heroku…

---

## [Altair selections don't work](https://discourse.holoviz.org/t/altair-selections-dont-work/1477)

<div class="topic-metadata">

**Author:** [@jretamales](https://discourse.holoviz.org/u/jretamales)\
**Replies:** 0\
**Last updated:** [November 27, 2020, 2:00pm UTC](https://discourse.holoviz.org/t/altair-selections-dont-work/1477 "2020-11-27T14:00:12Z")

</div>

Hi. So I’ve been trying to make a dashboard using Altair and Panel. One of the things I like most about Altair is it’s ability to interact between charts. As it’s shown \[here\](https://altair-viz.github.io/gallery/select\_…

---

## [Large Altair Plots Overlap](https://discourse.holoviz.org/t/large-altair-plots-overlap/1170)

<div class="topic-metadata">

**Author:** [@Yusu](https://discourse.holoviz.org/u/Yusu)\
**Replies:** 3\
**Last updated:** [September 5, 2020, 2:03am UTC](https://discourse.holoviz.org/t/large-altair-plots-overlap/1170 "2020-09-05T02:03:30Z")

</div>

Hi! I’m trying to combine multiple Altair plots with variable sizes using Panel, but once they grow too large, they start overlapping. Some example code that demonstrates this issue: Summaryimport panel as pn import p…
