# US 2025/0094434 A1 · Natural language to customize data visualization

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0094434 A1
- Document ID: US20250094434A1
- Status: Published application
- Kind: A1
- Application number: 18/970,616
- Filed: 2024-12-05
- Published: 2025-03-20
- Earliest claimed: 2023-06-29
- Assignees: Palo Alto Networks, Inc.
- Applicants: Palo Alto Networks, Inc.
- Inventors: Sameer D. Merchant; Zana Vosough; Rajesh Bhagwat
- Web page: https://patentgrep.com/patent/US20250094434A1

## CPC

- G06F 16/248: Presentation of query results
- G06F 16/243: {Natural language query formulation}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system, method, and device for generating data visualizations are disclosed. The method includes (i) obtaining a natural language query, (ii) determining an intent for the natural language query, (iii) generating one or more data requests to one or more selected data sources, the one or more data requests being based at least in part on the intent, (iv) abstracting result data to obtain a data abstraction, the result data being responsive to the one or more data requests, and (v) generating a visualization for the result data based at least in part on the data abstraction.

## Claims

### Claim 1

A system for visualizing data, comprising:
one or more processors configured to:
obtain a natural language query;
determine an intent for the natural language query;
obtain query result data for the query based at least in part on the intent;
abstract the result data to obtain a data abstraction;
generate a visualization for the result data based at least in part on the data abstraction;
receive user feedback on regarding a representation of the result data with the visualization; and
updating one or more rules for determining visualization types to be used to represent data based at least in part on corresponding data abstractions; and
a memory coupled to the one or more processors and configured to provide the one or more processors with instructions.

### Claim 2 (depends on 1)

The system of claim 1, wherein determining the intent for the natural language query includes querying a large language model based on the natural language query.

### Claim 3 (depends on 1)

The system of claim 1, wherein the intent is determined based at least in part on a machine learning model.

### Claim 4 (depends on 1)

The system of claim 1, wherein the one or more processors are further configured to:
determine one or more selected sources to query for the result data based at least in part on the intent.

### Claim 5 (depends on 1)

The system of claim 1, wherein the result data is obtained from one or more data sources.

### Claim 6 (depends on 1)

The system of claim 1, wherein abstracting the result data to obtain the data abstraction includes determining one or more statistical properties pertaining to the result data.

### Claim 7 (depends on 6)

The system of claim 6, wherein the one or more statistical properties comprise one or more of columns, data in the columns, outlier data, and a distribution of numeric values.

### Claim 8 (depends on 6)

The system of claim 6, wherein determining the one or more statistical properties pertaining to the result data comprises:
analyzing the result data, including applying one or more predefined rules to obtain the one or more statistical properties.

### Claim 9 (depends on 6)

The system of claim 6, wherein the data abstraction is determined based at least in part on the one or more statistical properties.

### Claim 10 (depends on 1)

The system of claim 1, wherein generating the visualization for the result data based at least in part on the data abstraction comprises determining a type of visualization based at least in part on the data abstraction, and creating the visualization based at least in part on the type of visualization.

### Claim 11 (depends on 1)

The system of claim 1, wherein the data abstraction corresponds to a representation of the natural language query in accordance with a predefined data visualization language.

### Claim 12 (depends on 11)

The system of claim 11, wherein the representation in accordance with the predefined data visualization language comprises an indication of a first dimension of the data to be visualized, a second dimension of the data to be visualized, and a type of visualization.

### Claim 13 (depends on 1)

The system of claim 1, wherein the data abstraction indicates a type of visualization to be generated.

### Claim 14 (depends on 13)

The system of claim 13, wherein the type of visualization is selected from a set of predefined visualizations, and the set of predefined visualizations include one or more of a bar chart, a line chart, a donut visualization, a map visualization, a bubble chart, a sunburst representation, a pie chart, a histogram, a single value, a map, a bubble map, a time bubble map, a pie map, a tree map, a sankey, a polar bar chart, a scatter plot, a table, and a parallel sets representation.

### Claim 15 (depends on 1)

The system of claim 1, wherein abstracting the result data to obtain the data abstraction comprises:
determining all possible ordered subsets of data for the result data;
for each rule in a set of predefined rules, analyzing each subset of data with the particular rule to obtain a corresponding rule check;
for each rule in the set of predefined rules, creating a score vector comprising the corresponding rule checks for the subsets of data;
ranking the rules in the set of predefined rules based on the corresponding score vectors; and
selecting the data abstraction based on the ranking of the rules.

### Claim 16 (depends on 15)

The system of claim 15, wherein each rule in the set of predefined rules corresponds to a particular type of visualization.

### Claim 17 (depends on 15)

The system of claim 15, wherein creating the score vector includes scoring a fit of a type of visualization for a particular rule to the subsets of data, the fit being scored according to a predefined scoring criteria.

### Claim 18 (depends on 17)

The system of claim 17, wherein the scoring criteria includes scores for one or more of compatibility, coverage, fanciness, and user preference.

### Claim 19 (depends on 18)

The system of claim 18, wherein the user preference is determined based at least in part on user feedback provided in response to one or more previous visualizations.

### Claim 20

A method for visualizing data, comprising:
obtaining, by one or more processors, a natural language query;
determining an intent for the natural language query;
obtaining query result data for the query based at least in part on the intent;
abstracting the result data to obtain a data abstraction;
generating a visualization for the result data based at least in part on the data abstraction;
receiving user feedback on regarding a representation of the result data with the visualization; and
updating one or more rules for determining visualization types to be used to represent data based at least in part on corresponding data abstractions.

### Claim 21

A computer program product embodied in a non-transitory computer readable medium for visualizing data, and the computer program product comprising computer instructions for:
obtaining, by one or more processors, a natural language query;
determining an intent for the natural language query;
abstracting the result data to obtain a data abstraction; and
generating a visualization for the result data based at least in part on the data abstraction;
receiving user feedback on regarding a representation of the result data with the visualization; and
updating one or more rules for determining visualization types to be used to represent data based at least in part on corresponding data abstractions.
