Skip to main content

sdvplot-js

Team logos, colours, playing surfaces and tables for JavaScript charts

  • sdvplot
  • sporty
  • sdvtables
  • Node
  • ci
  • release
  • Coverage
  • docs
  • Lifecycle: experimental
  • License
  • Contributors
  • GitHub stars
  • X Follow

Install

pnpm add @sportsdataverse/sdvplot @sportsdataverse/sporty @sportsdataverse/sdvtables @observablehq/plot

The chart libraries are optional peers: install the one you draw with. Getting started lists every entry point; the gallery shows every example, each run in CI before it is published.

What's covered​

70 leagues and 7,210 teams in sdvplot; 10 sports and 54 league surfaces (plus custom dimensions) in sporty.

Leagues and resources (sdvplot)​

Teams per league with each resource. Browse them in the Logos by league and Team colours notebooks.

LeagueTeamsColoursLogosWordmarksAliasesHeadshots
Football
nfl NFL32323532611 (13 id systems)ESPNgsis
cfb College football68768775726714,131 (14 id systems)ESPN
ufl UFL111111none95 (5 id systems)none
xfl XFL111111none64 (4 id systems)none
usfl USFL999none27 (3 id systems)none
aaf Alliance of American Football889none34 (5 id systems)none
Basketball
nba NBA303033none574 (13 id systems)ESPNleague ids
wnba WNBA151518none285 (12 id systems)ESPNleague ids
nbagl NBA G League323232none224 (5 id systems)none
mbb Men's college basketball3663663999413,812 (14 id systems)ESPN
wbb Women's college basketball364364397212,213 (13 id systems)ESPN
Baseball and softball
mlb MLB30303330795 (14 id systems)ESPNleague ids
milb Minor League Baseball2862862861661,747 (4 id systems)none
ncaa_baseball College baseball41441444867,971 (7 id systems)none
ncaa_softball College softball41541545223,061 (7 id systems)none
Hockey
nhl NHL3232412625 (12 id systems)ESPNleague ids
pwhl PWHL121212none48 (4 id systems)none
ahl AHL616161none244 (4 id systems)none
echl ECHL595959none236 (4 id systems)none
ohl OHL272727none108 (4 id systems)none
whl WHL232323none92 (4 id systems)none
qmjhl QMJHL262626none104 (4 id systems)none
ushl USHL171717none68 (4 id systems)none
phf Premier Hockey Federation888127 (3 id systems)none
ncaa_mhockey Men's college hockey1101101191680 (6 id systems)none
ncaa_whockey Women's college hockey4848541303 (6 id systems)none
Soccer
soccer Soccer clubs2,6812,6812,681none13,344 (4 id systems)none
Cricket
cricket Cricket teams111111111none488 (4 id systems)none
Other leagues
aba 303030none90 (3 id systems)none
acb 252525none75 (3 id systems)none
ajhl 171717none68 (4 id systems)none
bbl 555555none165 (3 id systems)none
bchl 232323none92 (4 id systems)none
bleague 585858none174 (3 id systems)none
bnxt 232323none69 (3 id systems)none
cchl 131313none52 (4 id systems)none
cebl 151515none45 (3 id systems)none
cfl 9910none65 (6 id systems)none
chl 414141none164 (4 id systems)none
dbbl 121212none36 (3 id systems)none
dbl 121212none36 (3 id systems)none
easl 121212none36 (3 id systems)none
elh 141414none42 (3 id systems)none
euroleague 898989none267 (3 id systems)none
f1 313131none96 (3 id systems)none
feb 327327327none981 (3 id systems)none
fiba 303030none150 (5 id systems)none
gojhl 454545none180 (4 id systems)none
ha 404040none120 (3 id systems)none
ibba 212121none63 (3 id systems)none
iihf 161616none80 (5 id systems)none
kbl 101010none30 (3 id systems)none
kijhl 232323none92 (4 id systems)none
kzs 111111none33 (3 id systems)none
lba 242424none72 (3 id systems)none
lkl 101010none30 (3 id systems)none
magnus 232323none69 (3 id systems)none
mhl 131313none52 (4 id systems)none
mjhl 191919none76 (4 id systems)none
nbl 101010none70 (5 id systems)none
nbl_au 262626none78 (3 id systems)none
nojhl 272727none108 (4 id systems)none
ojhl 282828none112 (4 id systems)none
shl 252525none75 (3 id systems)none
sjhl 131313none52 (4 id systems)none
sphl 161616none64 (4 id systems)none
vijhl 121212none48 (4 id systems)none
vtb 111111none33 (3 id systems)none
wjbl 151515none45 (3 id systems)none
wnbl 111111none33 (3 id systems)none

Playing surfaces (sporty)​

Every sport surface() draws and the leagues it knows; custom takes your own dimensions. See the surfaces guide and the Playing surfaces notebook.

  • Baseball
    • custom
    • little league
    • milb
    • mlb
    • ncaa
    • nfhs
    • pony
  • Basketball
    • custom
    • fiba
    • nba
    • nba g league
    • ncaa
    • nfhs
    • wnba
  • Curling
    • curling canada
    • custom
    • wcf
  • Football
    • cfl
    • custom
    • ncaa
    • nfhs11
    • nfhs6
    • nfhs8
    • nfhs9
    • nfl
  • Hockey
    • ahl
    • custom
    • echl
    • iihf
    • ncaa
    • nhl
    • nwhl
    • ohl
    • phf
    • pwhl
    • qmjhl
    • ushl
  • Lacrosse
    • custom
    • ncaam
    • ncaaw
    • nll
    • pll
    • usam
    • usaw
    • world lacrosse
  • Soccer
    • custom
    • epl
    • fifa
    • mls
    • ncaa
    • nwsl
  • Softball
    • custom
    • ncaa
  • Tennis
    • atp
    • custom
    • ita
    • itf
    • ncaa
    • usta
    • wta
  • Volleyball
    • custom
    • fivb
    • ncaa
    • usa volleyball

Data sources and provenance​

Team index
Curated in sdvplot (Python, MIT) and bundled here, one chunk per league: index 4ce85fb64837. Nothing is downloaded to resolve a team.
Logos and wordmarks
The SportsDataverse logo archive: content-addressed files on sdv.nyc3.cdn.digitaloceanspaces.com, manifest of 2026-11-25. Marks by source: espn 41,702 · hockeytech 2,160 · mlbstatic 976 · scb 682 · bleague 557 · nhl 441 · cfbplotr-legacy 373 · feb 327 · formula1.com 173 · ncaa.com 128 · legabasket 110 · acb 109 · euroleague 89 · nflverse 70 · wayback 65 · cricinfo 64 · nbl_rosetta 58 · sportpress 57 · hockeyallsvenskan 40 · ibba 36 · abaliga 30 · cebl 28 · shl 25 · hockeyfrance 23 · wikimedia-commons 16 · wjbl 15 · hokej.cz 14 · fox 14 · cfl 13 · sportality 12 · datacore 12 · kzs 11 · infobasket 11 · kbl 10 · lkl 10 · shiftstats 9 · aaf-strip-crop 8 · nwhl.co 6 · aaf.com 1.
Team colours
Teams by colour source: espn 4,253 · logo 2,911 · nflverse 32 · openf1 14.
Headshots
ESPN's image CDN by athlete id (cfb, mbb, mlb, nba, nfl, nhl, wbb, wnba); the leagues' own CDNs by league player id (mlb, nba, nhl, wnba); NFL gsis ids through nflverse's players table. URLs only: no image is bundled.
nflverse
The gsis map, the NFL colours and the nflverse aliases derive from nflverse-data, licensed CC BY 4.0 (see NOTICE).
Surface dimensions
Ported from sportyR (Ross Drucker) and sportypy, distributed under MIT by agreement of the SportsDataverse maintainers.

Any identifier

An abbreviation, an ESPN id, a full name or a relocated franchise's old code: resolve() turns it into one stable team id, season-aware, and never guesses.

Logos, wordmarks, headshots

Marks for every era from the SportsDataverse logo archive, and player headshots by ESPN or league id.

Team colours

teamColors(), palette() and matchup colours that keep two teams apart, with WCAG contrast helpers.

Playing surfaces

Courts, rinks, fields and pitches from sporty, in SVG, canvas, Observable Plot or D3.

Tables

sdvtables: a plain-data spec with logo, colour and bar cells, themes, and HTML, React or PNG output.

Your chart library

Observable Plot, D3 and React, plus adapters for 20+ chart, map, grid and 3D libraries: Chart.js, Plotly, Vega-Lite, ECharts, Recharts, MUI X, nivo, Victory, uPlot, Svelte, deck.gl, MapLibre, Three.js and more. Node and SSR too.