Highlight variable
when value is:
import { Draft, Emphasis } from "auteur"; const [emphVal, setEmphVal] = React.useState(8); const [emphVar, setEmphVar] = React.useState("Sweetness"); const draft = useRef(new Draft()); const newEmphasis = useRef(new Emphasis(emphVar, emphVal)); newEmphasis.current.selection(scatterpoints); draft.current.layer(ref.current) .x("Aroma", xScale) .y("Flavor", yScale) .exclude({"name":["regression", "label"]}) .augment(newEmphasis.current.getAugs());View raw data