A method, comprising: at an electronic device (100, 200) with a touch-sensitive surface (102, 202) and a display (102, 204): displaying a first chart on the display, wherein the first chart concurrently displays a first dimension representing a first qualitative variable including displaying at least one category label corresponding to a respective category of the first qualitative variable, a second dimension representing a second qualitative variable including displaying at least one category label corresponding to a respective category of the second qualitative variable, and a first measure representing a first quantitative variable associated with the first dimension and the second dimension including displaying at least one visual mark representing a respective value of the first quantitative variable associated with a respective one combination of a category of the first qualitative variable with a category of the second qualitative variable; detecting a first touch input starting at a contact position (610, 618, 622) on the touch-sensitive surface that corresponds to a location on the display of the first chart and moving the contact in a first predefined direction on the touch-sensitive surface; determining whether the contact position (610, 618, 622) is in a first region displaying a category label corresponding to a first category of the first qualitative variable, or is in a second region displaying a category label corresponding to a second category of the second qualitative variable, or is in a third region displaying a specific visual mark of the first quantitative variable; and in response to a determination that the contact position is in the first region: removing from displaying in the first chart all the visual marks associated to a combination of the first category with any category of the second qualitative variable, removing from displaying in the first chart all category labels corresponding to a combination of the first category with any category of the second qualitative variable; in response to a determination that the contact position is in the second region: removing from displaying in the first chart all the visual marks associated to a combination of the second category with any category of the first qualitative variable, and removing from displaying in the first chart all the category labels corresponding to a combination of the second category with any category of the first qualitative variable; in response to a determination that the contact position is in the third region: removing from displaying in the first chart the specific visual mark and removing from displaying in the first chart a third category label corresponding to a category of the second qualitative variable, the third category label being associated with the specific visual mark. displaying a first chart on the display, wherein the first chart concurrently displays a first dimension representing a first qualitative variable including displaying at least one category label corresponding to a respective category of the first qualitative variable, a second dimension representing a second qualitative variable including displaying at least one category label corresponding to a respective category of the second qualitative variable, and a first measure representing a first quantitative variable associated with the first dimension and the second dimension including displaying at least one visual mark representing a respective value of the first quantitative variable associated with a respective one combination of a category of the first qualitative variable with a category of the second qualitative variable; detecting a first touch input starting at a contact position (610, 618, 622) on the touch-sensitive surface that corresponds to a location on the display of the first chart and moving the contact in a first predefined direction on the touch-sensitive surface; determining whether the contact position (610, 618, 622) is in a first region displaying a category label corresponding to a first category of the first qualitative variable, or is in a second region displaying a category label corresponding to a second category of the second qualitative variable, or is in a third region displaying a specific visual mark of the first quantitative variable; and in response to a determination that the contact position is in the first region: removing from displaying in the first chart all the visual marks associated to a combination of the first category with any category of the second qualitative variable, removing from displaying in the first chart all category labels corresponding to a combination of the first category with any category of the second qualitative variable; in response to a determination that the contact position is in the second region: removing from displaying in the first chart all the visual marks associated to a combination of the second category with any category of the first qualitative variable, and removing from displaying in the first chart all the category labels corresponding to a combination of the second category with any category of the first qualitative variable; in response to a determination that the contact position is in the third region: removing from displaying in the first chart the specific visual mark and removing from displaying in the first chart a third category label corresponding to a category of the second qualitative variable, the third category label being associated with the specific visual mark.