Veezoo

Modify Visualizations

Adapt charts and tables in natural language or by editing their options directly.

When Veezoo displays an answer in the chat, you can modify most visualizations by two means:

  1. By interacting with an LLM model and issuing modification requests in natural language
  2. By manually editing a visualization's options as a JSON object

The following steps show how to modify a visualization:

  1. Ask a question
  2. In the answer, click on the Change Visualization button and choose your desired visualization
  3. Click again on the Change Visualization and choose Modify Visualization Change Visualization menu with the Modify Visualization option highlighted
  4. A text field appears below the visualization where you can enter and submit modification requests to adapt the visualization to your liking Text field below a visualization for entering modification requests in natural language
  5. Use the Edit options button inside the text field to make manual adjustments to the visualization's options
  6. You can always discard the last modification by going back to the previous state. Once satisfied, you can accept the changes Controls to discard the last modification or accept the changes to a visualization

Charts

Chart Example

The following shows an example of what a modification of a chart visualization might look like:

  • Before: Line chart before modification, with default colors and no target line
  • Prompts:
    • "add a green target line at 3.75k"
    • "make the lines red"
  • After: Line chart after modification, with red lines and a green target line at 3.75k

Chart Options

The chart visualizations are based on the Highcharts library. Their options are documented on the following page:

https://api.highcharts.com/highcharts/plotOptions

Tables

The following shows an example of what a modification of a table visualization might look like:

Table Example

  • Before: Table before modification, with default bars and date formatting
  • Prompts:
    • "make the revenue cells a green heat map"
    • "remove the bars"
    • "format the dates like June 2018 etc"
  • After: Table after modification, with a green heat map on the revenue column, no bars and dates formatted as month names

Table Options

The table visualizations are based on the following proprietary configuration format:

PropertyDescription
columnsThe ordered list of columns
columns[*].idThe identifier of the column (cannot be changed)
columns[*].typeThe type of the column, such as number, string, datetime, categorical etc. (cannot be changed)
columns[*].titleThe title of the column
columns[*].htmlTemplateThe Liquid HTML template defining how the column's values are rendered
columns[*].cellBackgroundColorTemplateThe Liquid template defining the CSS background-color property of the column's table cells
columns[*].isHiddenSpecifies whether the column is hidden
columns[*].disableBarsSpecifies whether to disable (hide) the bars (with width correlating to the cell value) rendered by default in cells of number columns
columns[*].disableStatisticsFooterSpecifies whether to disable (hide) the column footer containing statistics (e.g. average and total) rendered by default for number columns