Skip to content

Datasource panel's column chart is aggregated on the backend #3105

Description

@mscolnick

Description

Similar to #3104

Currently we send up to 20k rows of data to the frontend to aggregate columns summaries. This aggregation happens in vega-lite and can cause memory issues and slowdowns.

Suggested solution

We would like to move this aggregation to the backend either using vega-fusion (if installed) or narwhals.Expr.hist (if/when implemented).

Alternative

No response

Additional context

This could help: narwhals-dev/narwhals#1561

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions