Skip to content

[Refactor] Improve Data Node visual element (data tab) #2469

@enarroied

Description

@enarroied

Description

The data_node selector has a show_data parameter, which allows to show the "Data" tab.
The visual element is "smart" and "knows" when data is tabular; in that case, the "DATA" tab has 2 sub-tabs: One for a table and one for charts.

There are 2 things I think could be improved with this visual element:

1- Add parameters to not show the charts (default to False). Sometimes this is not useful, and when it's not useful, it can be confusing (also, I imagine adding a chart element if not needed is not great for performance).

2- Add a "summary" tab or sub-tab with the "Data" tab. The idea is to display summary statistics of the table for each column (data type, min, max, mean, Q1/2/, number of missing values). I don't know how to do it, but the concept is similar to Kaggle's data card descriptions (one example: https://www.kaggle.com/datasets/artyomkruglov/gaming-profiles-2025-steam-playstation-xbox/data). Another example is VS Code's Data Wrangler extension for Jupyter notebooks: https://code.visualstudio.com/docs/datascience/data-wrangler-quick-start.
For point number 2, I would also add a parameter to add or remove this component.

Acceptance Criteria

  • Any new code is covered by a unit tested.
  • Check code coverage is at least 90%.

Code of Conduct

  • I have checked the existing issues.
  • I am willing to work on this issue (optional)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions