Skip to content Skip to sidebar Skip to footer
Showing posts with the label Altair

Altair Limit Number Of Bars In Facet Chart

Suppose that I have a pandas dataframe like this one: label counts group 4 4 8 … Read more Altair Limit Number Of Bars In Facet Chart

Altair: Layered Line Chart With Legend And Custom Colors

I'm creating a layered line chart with 2 lines in Altair, each with a custom color. I want to a… Read more Altair: Layered Line Chart With Legend And Custom Colors

How To Add Prefix To Rsquared Extracted From Altair?

I'm adding the rSquared to a chart using the method outlined in this answer: r2 = alt.Chart(df)… Read more How To Add Prefix To Rsquared Extracted From Altair?

World Map + Slider In Altair (python)

I would like to build an interactive chart with world map with COVID-19 confirmed cases per country… Read more World Map + Slider In Altair (python)

How Can I Make A Map Using Geojson Data In Altair?

I'm very new to mapping, and to Altair/Vega. There's an example in the Altair documentation… Read more How Can I Make A Map Using Geojson Data In Altair?

How Can I Position Text Relative To Axes In Altair?

I'm trying to make a graph much like the Multi-Line Tooltip Example. However I want to make two… Read more How Can I Position Text Relative To Axes In Altair?