Data processing for visualizing hierarchical data
Abstract
Embodiments are directed to managing visualizations of data. A provided data model may include a tree specification that declares parent-child relationships between objects in the data model. In response to a query associated with objects in the data model: employing the parent-child relationships to determine a tree that includes parent objects and child objects from the objects based on the parent-child relationships; determining a root object based on the query and the tree; traversing the tree from the root object to visit the child objects in the tree; determining partial results based on characteristics of the visited child objects such that the partial results are stored in an intermediate table; and providing a response to the query that includes values based on the intermediate table and the partial results.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 80 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method for generating visualizations of data using one or more processors that execute instructions to perform actions, comprising: providing a data model and a tree specification, wherein the tree specification declares one or more parent-child relationships between two or more objects in the data model; validating a hierarchy of the one or more parent-child relationships in a tree model as having characteristics that are consistent for one or more separately required constraints that define one or more trees of the tree model, wherein the one or more separately required constraints are disregarded for at least a portion of the tree model, wherein the tree model is automatically generated based on one or more of the tree specification or an input from a user; determining a tree of the tree model based on the one or more parent-child relationships that includes one or more parent objects and one or more child objects from the one or more objects based on the one or more parent-child relationships; determining one or more root objects based on the tree, wherein the one or more root objects are parent objects that correspond to a root node of one or more portions of the tree; traversing the tree from the one or more root objects to visit the one or more child objects in the one or more portions of the tree; determining one or more partial results based on one or more characteristics of the one or more visited child objects, wherein the one or more partial results are aggregated and stored in an intermediate table; in response to a query associated with one or more objects in the data model, providing a response to the query that includes one or more values based on the intermediate table and the one or more partial results; and displaying a tree view in a visualization of one of a plurality of levels of the tree in a user interface, wherein a selection of another one of the plurality levels in the tree view visualization causes display of another tree view visualization for the other selected level in the user interface, and wherein the tree specification is updated based on the displayed another visualization of the tree view, wherein the visualization maintains visual state consistency by tracking expanded and collapsed nodes in a state table that preserves display state during tree updates, and wherein user interface controls are dynamically enabled and disabled based on validation rules applicable to a currently displayed hierarchical level.
- Claim 2Depends on #1
The method of claim 1, wherein aggregating and storing the one or more partial results in the intermediate table further comprises: determining one or more values for each parent object and each child object based on the one or more characteristics of the one or more visited child objects; and storing one or more records in the intermediate table, wherein each record includes an identifier that corresponds to a parent object or a child object and a value that corresponds to a partial result.
- Claim 3Depends on #1
The method of claim 1, wherein the tree model is generated from a data source that includes a plurality of records of information arranged in one or more tables.
- Claim 4Depends on #1
The method claim 1, wherein determining the tree, further comprises, determining one or more nodes and one or more edges based on the data model and the one or more parent-child relationships, wherein the one or more nodes of the tree correspond to the one or more parent objects or the one or more child objects, and wherein the one or more edges of the tree correspond to the one or more parent-child relationships.
- Claim 5Depends on #1
The method of claim 1, further comprising: displaying the tree view based on the one or more values included in the response to the query; and in response to one or more user interactions that expand or collapse a node in the tree view that corresponds to a parent object, performing further actions, including: updating the query based on the expanded or collapsed node; generating one or more other partial results based on updated query; updating the intermediate table based on the one or more partial results; generating another response to the query that includes one or more other values based on the updated query and the updated intermediate table; and updating the displayed tree view based on the one or more other values.
- Claim 6Depends on #1
The method of claim 1, further comprising: generating a graphical user interface (GUI) that includes a data panel, a display panel, and the tree view; employing the data panel to display one or more portions of a data source or the data model that are available to include in the tree view; and employing the tree view to display one or more charts or plots for visualizing the tree.
- Claim 7Depends on #1
The method of claim 1, further comprising: displaying the tree view for visualizing the tree, wherein one or more user inputs may be provided through the tree view; updating an appearance of the tree view based on the one or more user inputs; and updating the tree specification based on a current state of the tree view.
- Claim 8Independent Claim
A processor readable non-transitory storage media that includes instructions for generating visualizations of data, wherein execution of the instructions, by one or more processors, are configured to cause performance of actions, comprising: providing a data model and a tree specification, wherein the tree specification declares one or more parent-child relationships between two or more objects in the data model; validating a hierarchy of the one or more parent-child relationships in a tree model as having characteristics that are consistent for one or more separately required constraints that define one or more trees of the tree model, wherein the one or more separately required constraints are disregarded for at least a portion of the tree model, wherein the tree model is automatically generated based on one or more of the tree specification or an input from a user; determining a tree of the tree model based on the one or more parent-child relationships that includes one or more parent objects and one or more child objects from the one or more objects based on the one or more parent-child relationships; determining one or more root objects based on the tree, wherein the one or more root objects are parent objects that correspond to a root node of one or more portions of the tree; traversing the tree from the one or more root objects to visit the one or more child objects in the one or more portions of the tree; determining one or more partial results based on one or more characteristics of the one or more visited child objects, wherein the one or more partial results are aggregated and stored in an intermediate table; in response to a query associated with one or more objects in the data model, providing a response to the query that includes one or more values based on the intermediate table and the one or more partial results; and displaying a tree view in a visualization of one of a plurality of levels of the tree in a user interface, wherein a selection of another one of the plurality levels in the tree view visualization causes display of another tree view visualization for the other selected level in the user interface, and wherein the tree specification is updated based on the displayed another visualization of the tree view, wherein the visualization maintains visual state consistency by tracking expanded and collapsed nodes in a state table that preserves display state during tree updates, and wherein user interface controls are dynamically enabled and disabled based on validation rules applicable to a currently displayed hierarchical level.
- Claim 9Depends on #8
The media of claim 8, wherein storing the one or more partial results in the intermediate table further comprises: determining one or more values for each parent object and each child object associated with the query based on the one or more characteristics of the one or more visited child objects and the query; and storing one or more records in the intermediate table, wherein each record includes an identifier that corresponds to parent object or a child object and a value that corresponds to a partial result.
- Claim 10Depends on #8
The media of claim 8, wherein the tree model is generated from a data source that includes a plurality of records of information arranged in one or more tables.
- Claim 11Depends on #8
The media of claim 8, wherein determining the tree, further comprises, determining one or more nodes and one or more edges based on the data model and the one or more parent-child relationships, wherein the one or more nodes of the tree correspond to the one or more parent objects or the one or more child objects, and wherein the one or more edges of the tree correspond to the one or more parent-child relationships.
- Claim 12Depends on #8
The media of claim 8, further comprising: displaying the tree view based on the one or more values included in the response to the query; and in response to one or more user interactions that expand or collapse a node in the tree view that corresponds to a parent object, performing further actions, including: updating the query based on the expanded or collapsed node; generating one or more other partial results based on updated query; updating the intermediate table based on the one or more partial results; generating another response to the query that includes one or more other values based on the updated query and the updated intermediate table; and updating the displayed tree view based on the one or more other values.
- Claim 13Depends on #8
The media of claim 8, further comprising: generating a graphical user interface (GUI) that includes a data panel, a display panel, and the tree view; employing the data panel to display one or more portions of a data source or the data model that are available to include in the tree view; and employing the tree view to display one or more charts or plots for visualizing the tree.
- Claim 14Depends on #8
The media of claim 8, further comprising: displaying the tree view for visualizing the tree, wherein one or more user inputs may be provided through the tree view; updating an appearance of the tree view based on the one or more user inputs; and updating the tree specification based on a current state of a tree view.
- Claim 15Independent Claim
A system for generating visualizations of data, comprising: a network computer, comprising: a memory that stores at least instructions; and one or more processors that execute instructions that are configured to cause performance of actions, including: providing a data model and a tree specification, wherein the tree specification declares one or more parent-child relationships between two or more objects in the data model; validating a hierarchy of the one or more parent-child relationships in a tree model as having characteristics that are consistent for one or more separately required constraints that define one or more trees of the tree model, wherein the one or more separately required constraints are disregarded for at least a portion of the tree model, wherein the tree model is automatically generated based on one or more of the tree specification or an input from a user; determining a tree of the tree model based on the one or more parent-child relationships that includes one or more parent objects and one or more child objects from the one or more objects based on the one or more parent-child relationships; employing the one or more parent-child relationships to determine a tree that includes one or more parent objects and one or more child objects from the one or more objects based on the one or more parent-child relationships; traversing the tree from the one or more root objects to visit the one or more child objects in the one or more portions of the tree; determining one or more partial results based on one or more characteristics of the one or more visited child objects, wherein the one or more partial results are aggregated and stored in an intermediate table; in response to a query associated with one or more objects in the data model, providing a response to the query that includes one or more values based on the intermediate table and the one or more partial results; and displaying a tree view in a visualization of one of a plurality of levels of the tree in a user interface, wherein a selection of another one of the plurality levels in the tree view visualization causes display of another tree view visualization for the other selected level in the user interface, and wherein the tree specification is updated based on the displayed another visualization of the tree view, wherein the visualization maintains visual state consistency by tracking expanded and collapsed nodes in a state table that preserves display state during tree updates, and wherein user interface controls are dynamically enabled and disabled based on validation rules applicable to a currently displayed hierarchical level; and a client computer, comprising: a memory that stores at least instructions; and one or more processors that execute instructions that are configured to cause performance of actions, including: providing the query or displaying the response to the query.
- Claim 16Depends on #15
The system of claim 15, wherein storing the one or more partial results in the intermediate table further comprises: determining one or more values for each parent object and each child object associated with the query based on the one or more characteristics of the one or more visited child objects and the query; generating one or more records for each parent object and each child object associated with the query, wherein each record includes an identifier that corresponds to parent object or a child object and a value that corresponds to a partial result; and storing one or more records in the intermediate table, wherein each record includes an identifier that corresponds to parent object or a child object and a value that corresponds to a partial result.
- Claim 17Depends on #15
The system of claim 15, wherein the tree model is generated from a data source that includes a plurality of records of information arranged in one or more tables.
- Claim 18Depends on #15
The system of claim 15, wherein determining the tree, further comprises, determining one or more nodes and one or more edges based on the data model and the one or more parent-child relationships, wherein the one or more nodes of the tree correspond to the one or more parent objects or the one or more child objects, and wherein the one or more edges of the tree correspond to the one or more parent-child relationships.
- Claim 19Depends on #15
The system of claim 15, wherein the one or more processors of the network computer execute instructions that perform actions, further comprising: displaying the tree view based on the one or more values included in the response to the query; and in response to one or more user interactions that expand or collapse a node in the tree view that corresponds to a parent object, performing further actions, including: updating the query based on the expanded or collapsed node; generating one or more other partial results based on updated query; updating the intermediate table based on the one or more partial results; generating another response to the query that includes one or more other values based on the updated query and the updated intermediate table; and updating the displayed tree view based on the one or more other values.
- Claim 20Depends on #15
The system of claim 15, wherein the one or more processors of the network computer execute instructions that perform actions, further comprising: generating a graphical user interface (GUI) that includes a data panel, a display panel, and the tree view; employing the data panel to display one or more portions of a data source or the data model that are available to include in the tree view; and employing the tree view to display one or more charts or plots for visualizing the tree.
Technical Overview & Description
TECHNICAL FIELD The present invention relates generally to data visualization, and more particularly, but not exclusively to visualizing hierarchical information BACKGROUND Organizations are generating and collecting an ever-increasing amount of data. This data may be associated with disparate parts of the organization, such as, consumer activity, manufacturing activity, customer service, server logs, or the like. For various reasons, it may be inconvenient for such organizations to effectively utilize their vast collections of data. In some cases, the quantity of data may make it difficult to effectively utilize the collected data to improve business practices. In some cases, organizations may generate visualizations of the some or all of their data. Employing visualizations to represent this data may enable organizations to improve their understanding of critical business operations and help them monitor key performance indicators. In some cases, organizations may desire to employ visualizations for visualizing hierarchical data using trees or tree-like visualizations. Further, aggregation semantics of hierarchical data may be well suited for representing as trees or tree-like visualizations. Accordingly, tree-like visualizations may include collapse-expand features that are consistent with hierarchical data aggregation semantics. However, in some cases effectively leveraging hierarchical data aggregation semantic to provide visualizations may be difficult depending on the arrangement of the underlying data store. Thus, it is with respect to these considerations and others that the present invention has been made. BRIEF DESCRIPTION OF THE DRAWINGS Non-limiting and non-exhaustive embodiments of the present innovations are described with reference to the following drawings. In the drawings, like reference numerals refer to like parts throughout the various figures unless otherwise specified. For a better understanding of the described innovations, reference will be
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (80)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Office Communication for U.S. Appl. No. 16/586,554 mailed Feb. 24, 2022, pp. 1-47.
- Office Communication for U.S. Appl. No. 16/984,014 mailed Mar. 18, 2022, pp. 1-5.
- Office Communication for U.S. Appl. No. 16/944,043 mailed Apr. 19, 2022, pp. 1-10.
- Office Communication for U.S. Appl. No. 16/984,014 mailed Apr. 20, 2022, pp. 1-33.
- Pienta, Robert et al.,
- “
- VISAGE: Interactive Visual Graph Querying,
- ”
- AVI '16, Jun. 7-10, 2016, Bari Italy, pp. 272-279.
- Von Landesberger, Tatiana et al.,