I had more than 5000 rows of data so I followed the documentation to use the JSON data transformer but with it, I see no data in the plot:

I also tried installing altair-data-server with jupyter-server-proxy and then using alt.data_transformers.enable('data_server_proxied') but it still results in the same problem.
I also tried running the colab notebook linked on the altair data server project but this process fails in the colab notebook as well.
In the end, I ended up using a local jupyterlab instance but it would be nice to be able to use cloud based notebooks with altair
Please see https://altair-viz.github.io/user_guide/faq.html#maxrowserror-how-can-i-plot-large-datasets
As mentioned there, the local filesystem and dataserver approaches you tried may not work on some cloud-based notebooks, but there are other options available.
Note that Colab works with alt.renderers.enable('data_server'), but not with data_server_proxied.
Most helpful comment
Please see https://altair-viz.github.io/user_guide/faq.html#maxrowserror-how-can-i-plot-large-datasets
As mentioned there, the local filesystem and dataserver approaches you tried may not work on some cloud-based notebooks, but there are other options available.
Note that Colab works with
alt.renderers.enable('data_server'), but not withdata_server_proxied.