import { Draft, Range } from "auteur"; const newRange = useRef(new Range("AverageTemperature", [minThreshold, maxThreshold], "closed")); newRange.current.selection(lines); const draft = new Draft(); draft.layer(ref.current) .x("date", xScale) .y("AverageTemperature", yScale) .exclude({"name": ["fill", "label"]}) .augment(newRange.current.getAugs());View raw data