Patent attributes
A computing device displays a data visualization interface and receives user selection of a data source and a natural language command directed to the data source. The device identifies a first keyword and second keyword(s) in the natural language command. The second keyword(s) include adjectives that modify the first keyword. The device generates a visual specification that specifies the data source, a plurality of visual variables, and a plurality of data fields from the data source. Each of the visual variables is associated with a respective data field of the plurality of data fields. The first keyword corresponds to one or more first data fields of the plurality of data fields, and the one or more visual variables are associated with the one or more first data fields according to the one or more second keywords. The device generates and displays a data visualization based on the visual specification.