Digital view

A digital view in Constellab is a representation of data from a specific digital resource. Resources can have multiple views, such as tables or plots, to navigate through data effectively. Users can create their own views or choose from pre-configured views tailored to specific processes. The majority of digital views in Constellab are interactive, allowing users to zoom and customize graphs. Views can be shared among users and added to reports for enhanced data visualization. All generated views are saved and accessible from experiments, the Resource page, and the Viewbox, which stores the history of all views.

What is a digital view ?

A view is a representation of the data in a Resource. Each view is linked to a specific resource, and a Resource can have multiple views. For instance, a Table resource can be viewed as a table (similar to Excel) or as a plot (such as scatter plot, box plot, etc.). Both views are provided to help navigate through the data effectively.
Views can be generated from the resource page and added to reports to enhance data visualization in your reports. By utilizing views, you can present data in different formats and gain valuable insights from your resources.
In the example below, you can see the views for a resource named iris_1, which is a Table resource. On the left side, there is the default table view, resembling an Excel-like view, displaying the data in tabular form. On the right side, there is a generated scatter plot view, which presents the data as a scatter plot. Both are views and represent different visualizations of the same resource, iris_1.

How to generate a view for a Resource?

When you open a resource, you will see the default view, but if you wish to explore your data differently, you can generate new views. The available views will depend on the type of resource you are working with. To create a new view, follow these steps:

  1. Open the Resource page.
  2. Click on the Views button.
  3. You will be presented with two lists to choose from:
    1. Favorite views: These are views that were previously generated and marked as favorites (refer to "How to mark views as favorite" for more information).
    2. Native views: These are the available views for the resource. Some of these views might require configuration before they can be displayed.
  4. Click on the view you want to use. If it needs configuration, fill out the required form and click on save.
  5. The view will then appear in a popup, showing the data in the selected visualization.

Note: You can generate multiple views to compare them and analyze the data from different angles.
All the generated views are saved, and you can access them in the view history within the Resource info popup. This feature allows you to revisit and use previously generated views for further analysis and exploration. You can also find the generated views in the Viewbox.

How to mark views as favorite?

Views can be marked as favorites, which is a handy way to save the configuration of a view and make it easily accessible. Once a view is marked as a favorite, it will be available from the Generate Views popup, and it will be visible by default in the Viewbox.
To mark a view as a favorite, follow these steps:

  1. Open the view you want to mark as a favorite.
  2. Click on the star button next to the view title.

If you wish to unmark a view as a favorite, simply click on the star button again, and the view will no longer be listed as a favorite.
Note: to make a view even more accessible, you have the option to update its title. This can be helpful when you want to provide a more descriptive or memorable title for the view, making it easier to identify and use in the future.

How to manage views?

You can perform various manipulations with views. Here are the actions you can take:

  1. Click on the view title to update it. This allows you to provide a more descriptive or memorable title for the view, making it easier to identify and use in the future.
  2. Click on the menu button to show options for the views:
    1. Update view param: Modify the view parameters to generate a new view with different settings.
    2. Update view tags: Edit the view tags, which helps in grouping and finding resources in the Viewbox.
    3. Update view title: Change the title of the view.
    4. Add the view to a report: Include the view at the end of a report of your choice (See https://constellab.community/bricks/gws_academy/latest/doc/digital-lab/digital-report#how-to-add-a-view-to-a-report).
    5. Open in a new tab: Open the view in a new browser tab. This option is useful when you want to share the view's link with someone else.
  3. In the view popup, you'll find several buttons to manage the popups:
    1. Dock view: Replace the default view with the current view. This is helpful when you want to share the view with others.
    2. Minimize view: Hide the view popup and keep it for later. Minimized views are accessible at the bottom of the page for quick access.
    3. Fullscreen: Toggle the view to display it in fullscreen mode for a more immersive experience.
    4. Close: Close the view popup when you no longer need it.