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

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?

Adding R-value (correlation) To Scatter Chart In Altair

So I am playing around with the Cars dataset and am looking to add the R-value to a scatter chart. … Read more Adding R-value (correlation) To Scatter Chart In Altair

How Do You Set Axis Fontsize In Altair?

I would like to increase the X-Axis (or Y-Axis for that matter) fontSize to 16 (or any value) in th… Read more How Do You Set Axis Fontsize In Altair?

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