CPC G06F 16/904 (2019.01) [G06F 3/04847 (2013.01); G06F 3/167 (2013.01); G06F 16/248 (2019.01); G06F 16/26 (2019.01); G06F 16/90332 (2019.01); G06T 11/206 (2013.01)] | 20 Claims |
1. A method for generating modified data visualizations, comprising:
at a computing device having one or more processors and memory storing one or more programs configured for execution by the one or more processors:
displaying an initial data visualization according to an initial visual specification that specifies a data source, a plurality of visual variables, and a plurality of data fields from the data source, wherein:
each of the visual variables defines a respective characteristic of data marks in the initial data visualization according to association of a respective one or more of the data fields with the respective visual variable, the respective characteristic specifying horizontal position, vertical position, color, size, or text, for the data marks;
receiving a first natural language command that includes a request for information from the data source; and
in response to receiving the first natural language command:
extracting one or more first keywords from the first natural language command;
determining, based on the one or more first key words and one or more of (i) the data source, (ii) the visual variables, and/or (iii) the data fields of the initial visual specification, that the request does not directly specify a characteristic in the initial visual specification;
generating a modified visual specification in accordance with the determining and the first natural language command;
generating one or more queries based on the modified visual specification;
executing the one or more queries to retrieve data for a modified data visualization; and
generating and displaying the modified data visualization.
|