OpenSearch-Dashboards icon indicating copy to clipboard operation
OpenSearch-Dashboards copied to clipboard

[Research] Detailed comparison of properties between the traditional visualization and VisBuilder saved objects

Open SheyGao opened this issue 8 months ago • 0 comments

Research Subject

The research focuses on the structure and properties of saved objects in traditional visualization and VisBuilder. Both tools are utilized for creating and displaying data visualizations, but they may differ in how they save and structure their objects.

Objective

The primary objective of this research is to analyze and compare the structure of saved objects in traditional visualization and VisBuilder. Understanding these structures and their properties will facilitate the design of a migration function that converts traditional visualization saved objects into those compatible with VisBuilder.

Methods

For each of the visualization type, there are two different methods for checking the structures and properties: 1) using dashboards management tab; 2) using Chrome Dev Tools. The steps and results are shown below.

1. Traditional Visualization

1.1 Using Dashboards Management

  • Create a bar chart using Vertical Bar (For example, below is a vertical bar chart showing the unique count of different category. ) Screenshot 2024-06-19 at 5 25 46 PM

  • Save the object

  • Navigate to Dashboards Management - Saved objects - Edit visualization Screenshot 2024-06-19 at 5 28 22 PM

  • Structure and Properties of Saved Object Screenshot 2024-06-18 at 11 30 05 AM Screenshot 2024-06-18 at 11 30 14 AM Screenshot 2024-06-19 at 5 37 24 PM

1.2 Using Chrome Dev Tools

  • Use the same bar chart as above
  • Open Chrome Dev Tools, navigate to the network tab, Inspect the network response
  • Structure and Properties of Saved Object Screenshot 2024-06-18 at 11 42 09 AM

2. VisBuilder Visualization

2.1 Using Dashboards management

  • Create a bar chart using VisBuilder (Notice we're creating a visualization with the same content as the previous one created using Vertical Bar, as having the same content allows us to more easily compare the differences between the essential structures and properties of the saved objects in the two different tools.) Screenshot 2024-06-19 at 5 45 35 PM

  • Save the object

  • Navigate to Dashboards Management - Saved objects - Edit visualization

  • Structure and Properties of Saved Object Screenshot 2024-06-18 at 11 55 24 AM

2.2: Using Chrome Dev Tools

  • Use the same bar chart as above
  • Open Chrome Dev Tools, navigate to the network tab, Inspect the network response
  • Structure and Properties of Saved Object Screenshot 2024-06-18 at 12 00 06 PM

Findings

In this section, the pros and cons of the above described methods, mapping of states in visualization and VisBuilder and differences of saved objects in traditional visualization and VisBuilder will be discussed.

1. Pros and Cons for Different Methodology 1.1 Using Dashboards Management:

  • Pros: Easy access to the structure through the user interface.
  • Cons: Incomplete structure of the saved object compared to Chrome Dev Tools.

1.2 Using Chrome Dev Tools:

  • Pros: Provides a complete and accurate structure and properties of the saved object.
  • Cons: May be difficult for those unfamiliar with developer tools

2. Mapping of states between visualization and VisBuilder Screenshot 2024-06-29 at 6 14 52 PM

SheyGao avatar Jun 18 '24 18:06 SheyGao