import { Draft, Emphasis } from "auteur";
const draft = new Draft();
const newEmphasis = new Emphasis("Flavor", "min");
newEmphasis.selection(bars);
draft.layer(ref.current)
.x("FIELD1", xScale)
.y("Flavor", yScale)
.exclude({"name":["label"]})
.augment(newEmphasis.getAugs());
View raw data