vega-lite-api

vl.sequence(start, stop, step)

Define a sequence data generator.

sequence Method Overview

sequence API Reference

# sequence.as(value)

The name of the generated sequence field.

Default value: "data"

# sequence.start(value)

The starting value of the sequence (inclusive).

# sequence.step(value)

The step value between sequence entries.

Default value: 1

# sequence.stop(value)

The ending value of the sequence (exclusive).