Skip to main content
Bruno provides a powerful visualization feature that allows you to display API response data in a more readable and interactive format using the bru.visualize function.
  1. type: The type of visualization to render (e.g., ‘table’, ‘html’).
  2. config: A configuration object that includes:
    • name: The name of the visualization instance.
    • provider: The rendering library or provider used to display the visualization (e.g., ‘ag-grid’, ‘react-table’).
    • props: Additional properties required by the provider to configure the visualization.

Supported Visualization Types and Providers

Table Visualization (‘table’)

You can render tables using different providers like ag-grid and react-table.

Using ag-grid

Example: ag-grid
This will render a table using the ag-grid provider with filters enabled on all columns.

Using react-table

Example: react-table
This example renders a large table using the react-table provider, with custom headers and filter variants.

HTML Visualization (‘html’)

You can also render custom HTML content using the html type. This allows for advanced templating and formatting, such as generating a data table or a report.

Using HTML String

Example: html
This example will render an HTML table with predefined data using the html type.

Viewing Your Visualization

  1. Add the visualization code to your request’s script section
  2. Execute the request
  3. Click on the Table option (next to Raw)
View Table Option
  1. Your visualization will be displayed in the panel
Visualization Output

Parameters

Config Properties