import { Draft, Threshold } from "auteur";
const draft = new Draft();
const newThreshold = new Threshold("Flavor", 8, "leq", style);
newThreshold.selection(bars);
let newAugs = newThreshold.getAugs();
draft.layer(ref.current)
.x("FIELD1", xScale)
.y("Flavor", yScale)
.exclude({"name":["regression"]})
.augment(newAugs);
View raw data