CPC G06F 3/0482 (2013.01) [G06F 40/166 (2020.01); G06F 40/30 (2020.01)] | 23 Claims |
1. A method of using natural language for updating visual analysis of datasets, comprising:
at a computing device having a display, one or more processors, and memory storing one or more programs configured for execution by the one or more processors:
displaying a data visualization based on data fields in a dataset retrieved from a database;
displaying one or more first phrases in a first region, wherein each of the one or more first phrases includes one or more first field names of the data fields in the dataset, and the one or more first phrases define the data visualization;
receiving a first user input in a second region, distinct from the first region, to specify a natural language command related to the displayed data visualization;
in response to receiving the first user input:
identifying one or more analytical expressions representing the natural language command, each of the analytical expressions including a respective one or more of the first field names of the data fields in the dataset; and
displaying one or more proposed actions, each proposed action to apply a respective one of the identified analytical expressions to the displayed data visualization;
receiving user selection of a first action of the proposed actions; and
in response to receiving the user selection:
generating an updated data visualization by applying the analytical expression corresponding to the first action;
displaying the updated data visualization; and
displaying a plurality of second phrases in the first region, wherein the plurality of second phrases includes the one or more first phrases and one or more additional phrases corresponding to the first action, and wherein the second phrases define the updated data visualizations;
receiving user input in the second region to specify a natural language command related to removing a data field with a dimension data type; and
in response to receiving the user input, removing, from display in the second region, one or more phrases of the plurality of second phrases, wherein each of the one or more phrases includes the data field with the dimension data type.
|