Is there a limit to the number of data points displayed in notebook visualizations?

User16826992666
Databricks Employee
Databricks Employee

I know that when you display the results of queries in notebooks there is a limit to the number of rows that are shown. Is there a similar limit to the results that are displayed in visuals within notebooks?

sean_owen
Databricks Employee
Databricks Employee

Yes, still limited to 1000 rows / data points. However, when your visualization involves things like sums or averages of a Spark DataFrame's result, those will be performed on the cluster, so would involve maybe many more than 1000 data points, even if the resulting aggregation results are limited to 1000. (In practice, it's hard to visualize more than about 1000 results anyway)

View solution in original post