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

Recreating The Pyldavis Chart In Altair - Filtered Data With Empty Selection

I am trying to recreating the classic pyLDAvis visualization for topic modelling in Altair. I'v… Read more Recreating The Pyldavis Chart In Altair - Filtered Data With Empty Selection

Sorting A Chart Axis Based On The Dynamically Updated Axis Order In Another Chart

In this VegaLite spec the y-axis order of the bottom-most barplot is updated as the data of that pl… Read more Sorting A Chart Axis Based On The Dynamically Updated Axis Order In Another Chart

How To Correctly Shift The Baseline In An Area Plot To A Particular Y Location And Change The Fill Color Correspondingly, In Altair?

I wanted to be able to do something like this - NOTE: The horizontal line you see is NOT at y=0, b… Read more How To Correctly Shift The Baseline In An Area Plot To A Particular Y Location And Change The Fill Color Correspondingly, In 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 Remove Border In Layerchart

I am trying to remove the border from an altair chart. This answer works perfectly but it fails whe… Read more Altair Remove Border In Layerchart

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)