Skip to main content

wordmarkDots

[
  [
    "13",
    18,
    4,
    20,
    "https://sdv.nyc3.cdn.digitaloceanspaces.com/assets/public/sha256/c2/c22afa5471cd8e08e9c42f06df3d90f6b88b1b95fc16b4da5e610737a8fe7dac.png"
  ]
]
import { loadLeague } from "@sportsdataverse/sdvplot";
import { drawnMarks, wordmarkDots } from "@sportsdataverse/sdvplot/tanstack";

await loadLeague("nfl");
// [team id, x, y, height in px, wordmark URL]
drawnMarks(wordmarkDots([{ team: "LV", wins: 4, week: 18 }], { x: "week", y: "wins", team: "team", league: "nfl", size: 20 }));

Tags: docstring · wordmarkDots. All sdvplot examples.