# US 2026/0064944 A1 · Systems and Methods for Authoring Data-Driven Narratives Through Bidirectional Visualization and Text Generation

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

- Number: US 2026/0064944 A1
- Document ID: US20260064944A1
- Status: Published application
- Kind: A1
- Application number: 19/010,911
- Filed: 2025-01-06
- Published: 2026-03-05
- Earliest claimed: 2024-09-05
- Assignees: Salesforce, Inc.
- Applicants: Salesforce, Inc.
- Inventors: Yu FU; Dennis Nathan BROMLEY; Vidya Raghavan SETLUR
- Web page: https://patentgrep.com/patent/US20260064944A1

## CPC

- G06F 40/166: Editing, e.g. inserting or deleting
- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 40/40: Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30)
- G06T 11/26: Drawing of charts or graphs
- G06T 2200/24: involving graphical user interfaces [GUIs]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A computing device displays, on a user interface, a plurality of nodes, including a first visualization node and a second node. The first visualization node includes a chart. In response to receiving a user interaction with a portion of the chart, the device generates intermediate data according to the portion of the chart and displaying the intermediate data on the user interface. In response to receiving user selection of at least a subset of the intermediate data, the device transmits to a language model a request and receives, from the language model, data describing the one or more datasets according to the subset of the intermediate data selected by the user. The device renders the data describing the one or more datasets as (i) an update or modification of the first visualization node or the second node, or (ii) a third node that is distinct from the plurality of nodes.

## Claims

### Claim 1

A method for generating data narratives, performed at a computing device that includes a display, one or more processors, and memory, the method comprising:
displaying, on a user interface, a plurality of nodes associated with one or more datasets, the plurality of nodes including a first visualization node and a second node that is connected to the first visualization node by a connector, the first visualization node including a chart;
receiving a user interaction with a portion of the chart that is displayed in the first visualization node;
in response to receiving the user interaction:
generating intermediate data according to the portion of the chart; and
displaying the intermediate data on the user interface;
receiving, via the user interface, user selection of at least a subset of the intermediate data; and
in response to receiving the user selection:
transmitting to a language model a request based on the user selection of the at least the subset of the intermediate data;
receiving, from the language model, data describing the one or more datasets according to the subset of the intermediate data; and
rendering the data describing the one or more datasets as (i) an update or modification of the first visualization node or the second node, or (ii) a third node that is distinct from the plurality of nodes.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
in response to receiving the user interaction with the portion of the chart that is displayed in the first visualization node, retrieving data metadata corresponding to the portion of the chart, including:
field names of data fields of the one or more datasets that are included in the portion of the chart;
a data type corresponding to each of the data fields; and
data values of the data fields that are included in the portion of the chart.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
in response to receiving the user interaction with the portion of the chart that is displayed in the first visualization node, retrieving chart metadata corresponding to the portion of the chart, including:
a chart type of the chart;
visual encodings of the chart; and
a variable in one or more tooltips of the chart.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
in response to receiving the user interaction with the portion of the chart that is displayed in the first visualization node, retrieving interaction metadata corresponding to the user interaction, including:
starting and ending coordinates of the chart specified by the user interaction; or
starting and ending data values of the chart specified by the user interaction; or
starting and ending date/times of the chart specified by the user interaction; or
data points or data ranges specified by the user interaction.

### Claim 5 (depends on 1)

The method of claim 1, wherein the intermediate data is generated further in accordance with a chart type corresponding to the chart and an interaction type corresponding to the user interaction.

### Claim 6 (depends on 5)

The method of claim 5, wherein the chart type is one of: a scatterplot, a bar chart, a stacked bar chart, a line chart, a donut chart or a sunburst chart.

### Claim 7 (depends on 5)

The method of claim 5, wherein the interaction type includes a selection of one or more of: an area of the chart, one or more data marks of the chart, a legend of the chart, one or more axes of the chart, and a title of the chart.

### Claim 8 (depends on 1)

The method of claim 1, wherein displaying the intermediate data on the user interface includes sorting the intermediate data into a plurality of categories and displaying the intermediate data according to the categories.

### Claim 9 (depends on 1)

The method of claim 1, wherein:
the intermediate data includes a set of data facts describing a set of data values of a categorical data field; and
displaying the intermediate data on the user interface includes:
determining a respective count for each data value in the set of data values;
determining a respective score for each of the data values using a weighting criterion that includes the respective count, to obtain a set of scores for the set of data values; and
ranking the set of scores in a descending order; and
displaying the set of data facts in a ranked order in accordance with the ranking of the set of scores.

### Claim 10 (depends on 1)

The method of claim 1, wherein transmitting the request to the language model includes:
generating a prompt according to the at least the subset of the intermediate data, the prompt including:
a first parameter specifying a chart type and chart configuration of the chart;
a second parameter specifying color encodings of data values of a first data field in the chart; and
a third parameter specifying details of the user interaction with the at least the portion of content.

### Claim 11 (depends on 1)

The method of claim 1, wherein:
the second node is a text node; and
the data describing the one or more datasets comprises a text narrative.

### Claim 12 (depends on 11)

The method of claim 11, wherein rendering the data describing the one or more datasets includes rendering the text narrative as a modification of the text node.

### Claim 13 (depends on 11)

The method of claim 11, wherein the text narrative includes color encodings that correspond with color encodings of the chart.

### Claim 14 (depends on 11)

The method of claim 11, further comprising:
displaying in the text node a plurality of affordances for modifying the text narrative according to the same subset of the intermediate data.

### Claim 15 (depends on 14)

The method of claim 14, wherein the plurality of affordances includes one or more of:
a first affordance that, when selected by a user, summarizes the text narrative according to the same subset of the intermediate data;
a second affordance that, when selected by the user, expands the text narrative according to the same subset of the intermediate data; and
a third affordance that, when selected by the user, re-generates the text narrative according to the same subset of the intermediate data.

### Claim 16 (depends on 14)

The method of claim 14, further comprising:
in response to receiving user selection of a first portion of the text narrative and a first affordance of the plurality of affordances:
transmitting to the language model an updated request based on (i) the first portion of the text narrative, (ii) the first affordance, and (iii) the user selection of the at least the subset of the intermediate data; and
receiving, from the language model, updated data describing the one or more datasets in accordance with the updated request.

### Claim 17 (depends on 11)

The method of claim 11, further comprising:
receiving, in the text node, user specification to modify a narrative tone of the text narrative; and
in response to receiving the user specification:
transmitting to the language model an updated request based on (i) the user specification and (ii) the user selection of the at least the subset of the intermediate data; and
receiving, from the language model, an updated text narrative with the modified narrative tone.

### Claim 18 (depends on 1)

The method of claim 1, further comprising:
in response to receiving the user interaction, obtaining an image of the portion of content;
wherein displaying the intermediate data on the use interface includes displaying the image of the portion of content and an option that, when selected, causes the language model to generate a description of the image.

### Claim 19

A computing device, comprising:
a display;
one or more processors; and
memory coupled to the one or more processors, the memory storing one or more programs configured for execution by the one or more processors, the one or more programs including instructions for:
displaying, on a user interface, a plurality of nodes associated with one or more datasets, the plurality of nodes including a first visualization node and a second node that is connected to the first visualization node by a connector, the first visualization node including a chart;
receiving a user interaction with a portion of the chart that is displayed in the first visualization node;
in response to receiving the user interaction:
generating intermediate data according to the portion of the chart; and
displaying the intermediate data on the user interface;
receiving, via the user interface, user selection of at least a subset of the intermediate data; and
in response to receiving the user selection:
transmitting to a language model a request based on the user selection of the at least the subset of the intermediate data;
receiving, from the language model, data describing the one or more datasets according to the subset of the intermediate data; and
rendering the data describing the one or more datasets as (i) an update or modification of the first visualization node or the second node, or (ii) a third node that is distinct from the plurality of nodes.

### Claim 20

A non-transitory computer-readable medium storing one or more programs configured for execution by one or more processors of a computing device, the one or more programs comprising instructions for:
displaying, on a user interface, a plurality of nodes associated with one or more datasets, the plurality of nodes including a first visualization node and a second node that is connected to the first visualization node by a connector, the first visualization node including a chart;
receiving a user interaction with a portion of the chart that is displayed in the first visualization node;
in response to receiving the user interaction:
generating intermediate data according to the portion of the chart; and
displaying the intermediate data on the user interface;
receiving, via the user interface, user selection of at least a subset of the intermediate data; and
in response to receiving the user selection:
transmitting to a language model a request based on the user selection of the at least the subset of the intermediate data; and
receiving, from the language model, data describing the one or more datasets according to the subset of the intermediate data; and
rendering the data describing the one or more datasets as (i) an update or modification of the first visualization node or the second node, or (ii) a third node that is distinct from the plurality of nodes.
