Isanes Francois
18 October 2024
Fixing Unexpected Plotting Errors in Altair for Python Visualizations

This tutorial explains how to use random geographic data with latitude and longitude to resolve an uncommon charting problem in Altair. The problem happens when VSCode is being used for visualization, namely when drawing points on a map. The problem can be successfully fixed by changing the code to use jittered coordinates and optimizing visual elements like size and tooltips. Because of Altair's flexibility, users may make maps with overlapping points that are both clear and interactive.