Skip to main content

sparkbar

Introduced in: v21.11.0 The function plots a frequency histogram for values x and the repetition rate y of these values over the interval [min_x, max_x]. Repetitions for all x falling into the same bucket are averaged, so data should be pre-aggregated. Negative repetitions are ignored. If no interval is specified, then the minimum x is used as the interval start, and the maximum x — as the interval end. Otherwise, values outside the interval are ignored. Syntax
Aliases: sparkBar Parameters Arguments Returned value Returns the frequency histogram. String Examples Without interval specification
Query
Response
With interval specification
Query
Response
Last modified on June 19, 2026