logo: team logos from the bundled league data
| Team | Division |
|---|---|
KC | West |
LAC | West |
DEN | West |
LV | West |
BUF | East |
MIA | East |
NYJ | East |
NE | East |
import { STANDINGS, type Standing } from "@sportsdataverse/examples/data";
import { defineTable } from "@sportsdataverse/sdvtables";
import { renderHTMLAsync } from "@sportsdataverse/sdvtables/html";
// renderHTMLAsync loads the NFL shard first; the cell holds the archive URL, nothing is fetched to render it.
const spec = defineTable<Standing>()
.columns((c) => [c.logo("team", { league: "nfl", includeName: true }), c.text("division")])
.title("AFC, 2024")
.build();
await renderHTMLAsync(spec, STANDINGS);
Tags: kind · logo · gt_sdv_logos · reactable_sdv_logos · nfl. All sdvtables examples.
KC
LAC
DEN
LV
BUF
MIA
NYJ
NE