vega-lite-api

vl.sample(sample)

Filter random records from the data limit its size.

sample Method Overview

sample API Reference

# sample.sample(value)

The maximum number of data objects to include in the sample.

Default value: 1000