Table of contents

Brunel visualizations

You can use the Brunel visualization language in Python notebooks to build interactive charts and diagrams.

Watch this video about running a notebook with Brunel visualizations:

Figure 1. This video uses Spark and Brunel visualizations to analyze NYC Restaurant data.

To get started with Brunel visualizations, open the sample notebook Visualize car data with Brunel.

Many types of Brunel graphs are interactive: you can zoom and pan across the graph. The following scatter plot shows the relationship between the horsepower and the weight of the cars in a scatter plot. The color is based on the origin of the cars. The tooltips show the name of the cars.

Figure 2. A static example of an interactive scatter plot visualization.

Brunel scatterplot example

You can also create more complex graphs that display many dimensions. For example, the following treemap groups vehicles by their origin, year of manufacture, and number of cylinders. The color indicates the average gas mileage of the vehicles in each block. The numbers in each block are the number of cylinders. The size of the blocks reflects the number of vehicles in the category. The tooltips show all the information.

Figure 3. A static example of an interactive treemap visualization.

Brunel treemap example with tooltips

Learn more