BarChart

A bar chart.

The x values will be the indices of the array, and the bar heights will be the provided values.

Components

Required: TensorData

Optional: Color

Example

Simple bar chart

"""Create and log a bar chart.""" import rerun as rr rr.init("rerun_example_bar_chart", spawn=True) rr.log("bar_chart", rr.BarChart([8, 4, 0, 9, 1, 4, 1, 6, 9, 0]))