logoMarkers
function
import { loadLeague } from "@sportsdataverse/sdvplot";
import { logoMarkers } from "@sportsdataverse/sdvplot/lightweight-charts";
await loadLeague("nfl");
// Super Bowl LIX's final reading (ESPN): 3600 seconds played, Philadelphia's win probability 1
const rows = [{ t: 3600, wp: 1, team: "PHI" }];
const logos = logoMarkers(rows, { x: "t", y: "wp", team: "team", league: "nfl", units: "probability" });
// in the browser: series.attachPrimitive(logos)
typeof logos.paneViews;
Tags: docstring · logoMarkers. All sdvplot examples.