Table themes
sdvplot ships 122 table themes, one per surveyed source (journals, libraries, finance and news sites, sports reference
sites, government and periodical tables), named after the source: datagolf, basketball-reference, wikipedia,
nejm. They come from one registry file that sdvplotR and sdvtables read too, so a name means the same table in every
language. reactable_sdv_theme() looks a name up in the 27 reactablefmtr ports first (bare names such as espn), then
in the registry (espn-site is the site's own look); table_theme_spec() and the other adapters read the registry only.
import polars as pl
from great_tables import GT
from sdvplot.great_tables import gt_theme_source
from sdvplot.itables import itables_sdv_theme
from sdvplot.plottable import plottable_sdv_theme
from sdvplot.reactable import reactable_sdv_theme
gt = gt_theme_source(GT(pl.DataFrame({"team": ["BOS"], "wins": [64]})), "datagolf") # a great_tables GT
theme = reactable_sdv_theme("datagolf") # a reactable.Theme
plottable_sdv_theme and itables_sdv_theme take the same id. Pass mode="dark" to the themes with a dark palette
(native was measured, derived was derived from the light palette); mode="dark" on a light-only theme raises,
naming three dark-capable themes in its category. A striped theme shades the 2nd, 4th, ... body rows in great_tables,
itables and plottable, as sdvplotR and sdvtables do. The full gallery with inline previews and the call for every
library is at plot.sportsdataverse.org.
Every theme
| Theme | Source | Category | Dark | Preview |
|---|---|---|---|---|
annual-report | Annual-report financial statement | finance | none | light |
barrons-markets | Barron's markets data | finance | derived | light / dark |
bloomberg-markets | Bloomberg.com Markets | finance | native | light / dark |
finviz | Finviz screener | finance | native | light / dark |
ft-markets-data | FT markets data | finance | none | light |
koyfin | Koyfin | finance | native | light / dark |
macrotrends | Macrotrends | finance | derived | light / dark |
morningstar | Morningstar | finance | derived | light / dark |
sec-edgar | SEC EDGAR financial statements (R viewer) | finance | derived | light / dark |
seeking-alpha-quant | Seeking Alpha Quant ratings | finance | native | light / dark |
tradingview-screener | TradingView screener | finance | native | light / dark |
wsj-markets | WSJ Markets data | finance | derived | light / dark |
yahoo-finance | Yahoo Finance | finance | native | light / dark |
bls | US Bureau of Labor Statistics | gov | derived | light / dark |
eurostat | Eurostat data browser | gov | derived | light / dark |
gov-uk | GOV.UK Design System table | gov | derived | light / dark |
ons | UK Office for National Statistics | gov | derived | light / dark |
statistics-canada | Statistics Canada | gov | derived | light / dark |
us-census | US Census data.census.gov | gov | derived | light / dark |
uswds-table | USWDS usa-table | gov | derived | light / dark |
aer | American Economic Review (AEA style) | journal | none | light |
apa-7 | APA 7 table style | journal | none | light |
arxiv-booktabs | arXiv / LaTeX booktabs | journal | none | light |
cell | Cell (STAR Methods) | journal | none | light |
chicago-manual | Chicago Manual of Style (ch. 3) | journal | none | light |
jama | JAMA | journal | none | light |
lancet | The Lancet | journal | none | light |
nature | Nature | journal | none | light |
nejm | New England Journal of Medicine | journal | none | light |
plos-one | PLOS ONE | journal | none | light |
science | Science | journal | none | light |
ag-grid-alpine | AG Grid Alpine | library | native | light / dark |
ag-grid-balham | AG Grid Balham | library | native | light / dark |
ag-grid-material | AG Grid Material | library | native | light / dark |
ag-grid-quartz | AG Grid Quartz | library | native | light / dark |
datatables | DataTables (display class) | library | native | light / dark |
great-tables-stylize-1 | great_tables opt_stylize style 1 (blue) | library | derived | light / dark |
great-tables-stylize-2 | great_tables opt_stylize style 2 (green) | library | derived | light / dark |
great-tables-stylize-3 | great_tables opt_stylize style 3 (cyan) | library | derived | light / dark |
great-tables-stylize-4 | great_tables opt_stylize style 4 (pink) | library | derived | light / dark |
great-tables-stylize-5 | great_tables opt_stylize style 5 (gray) | library | derived | light / dark |
great-tables-stylize-6 | great_tables opt_stylize style 6 (red) | library | derived | light / dark |
gtextras-538 | gtExtras gt_theme_538 | library | derived | light / dark |
gtextras-dark | gtExtras gt_theme_dark | library | native | light / dark |
gtextras-dot-matrix | gtExtras gt_theme_dot_matrix | library | none | light |
gtextras-espn | gtExtras gt_theme_espn | library | derived | light / dark |
gtextras-excel | gtExtras gt_theme_excel | library | derived | light / dark |
gtextras-guardian | gtExtras gt_theme_guardian | library | derived | light / dark |
gtextras-nytimes | gtExtras gt_theme_nytimes | library | derived | light / dark |
gtextras-pff | gtExtras gt_theme_pff | library | derived | light / dark |
ibm-carbon-data-table | IBM Carbon data table | library | native | light / dark |
material-data-table | Material Design (M2) data table | library | native | light / dark |
observable-inputs-table | Observable Inputs.table | library | native | light / dark |
shopify-polaris-indextable | Shopify Polaris IndexTable | library | derived | light / dark |
tabulator-simple | Tabulator (simple theme) | library | native | light / dark |
tailwind-ui-table | Tailwind UI tables | library | native | light / dark |
axios | Axios | news | derived | light / dark |
bbc-sport | BBC Sport | news | derived | light / dark |
bloomberg | Bloomberg Graphics | news | derived | light / dark |
datawrapper | Datawrapper (default table) | news | native | light / dark |
der-spiegel | Der Spiegel | news | derived | light / dark |
economist | The Economist | news | derived | light / dark |
financial-times | Financial Times (o-table core) | news | none | light |
financial-times-bordered | Financial Times (o-table lines + bordered) | news | none | light |
financial-times-internal | Financial Times (o-table internal brand) | news | derived | light / dark |
fivethirtyeight-site | FiveThirtyEight (forecast tables) | news | derived | light / dark |
guardian | The Guardian | news | derived | light / dark |
le-monde | Le Monde | news | derived | light / dark |
new-york-times | The New York Times | news | derived | light / dark |
nzz | NZZ (Q table) | news | derived | light / dark |
propublica | ProPublica (news apps) | news | native | light / dark |
reuters-graphics | Reuters Graphics | news | derived | light / dark |
scmp | South China Morning Post | news | derived | light / dark |
the-athletic | The Athletic | news | native | light / dark |
the-pudding | The Pudding | news | native | light / dark |
washington-post | The Washington Post (WPDS) | news | derived | light / dark |
harpers-index | Harper's Magazine (Harper's Index) | periodical | none | light |
new-yorker | The New Yorker | periodical | none | light |
pew-research | Pew Research Center | periodical | derived | light / dark |
the-atlantic | The Atlantic | periodical | derived | light / dark |
wikipedia | Wikipedia wikitable | periodical | native | light / dark |
barttorvik | Bart Torvik (T-Rank) | sports | none | light |
baseball-prospectus | Baseball Prospectus | sports | derived | light / dark |
baseball-reference | Baseball-Reference | sports | derived | light / dark |
baseball-savant | Baseball Savant | sports | derived | light / dark |
basketball-reference | Basketball-Reference | sports | derived | light / dark |
chess-com | Chess.com leaderboards | sports | native | light / dark |
cleaning-the-glass | Cleaning the Glass | sports | derived | light / dark |
datagolf | DataGolf | sports | native | light / dark |
dunks-and-threes | Dunks & Threes | sports | native | light / dark |
espn-site | ESPN (BPI / FPI tables) | sports | derived | light / dark |
espncricinfo-statsguru | ESPNcricinfo Statsguru | sports | none | light |
evanmiya | EvanMiya | sports | native | light / dark |
evolving-hockey | Evolving-Hockey | sports | derived | light / dark |
fangraphs | FanGraphs | sports | native | light / dark |
fbref | FBref | sports | derived | light / dark |
fbref-scouting-report | FBref scouting report | sports | derived | light / dark |
formula1 | Formula 1 | sports | native | light / dark |
fotmob | FotMob | sports | native | light / dark |
hockey-reference | Hockey-Reference | sports | derived | light / dark |
hockeyviz | HockeyViz | sports | derived | light / dark |
kaggle | Kaggle leaderboards | sports | native | light / dark |
lichess | Lichess leaderboards | sports | native | light / dark |
moneypuck | MoneyPuck | sports | none | light |
natural-stat-trick | Natural Stat Trick | sports | none | light |
nba-stats | NBA.com Stats | sports | derived | light / dark |
nfl-next-gen-stats | NFL Next Gen Stats | sports | native | light / dark |
olympics | Olympics medal table | sports | derived | light / dark |
opta-analyst | Opta Analyst | sports | derived | light / dark |
our-world-in-data | Our World in Data | sports | derived | light / dark |
pff-site | PFF (grades) | sports | derived | light / dark |
premier-league | Premier League | sports | derived | light / dark |
pro-football-reference | Pro-Football-Reference | sports | derived | light / dark |
racing-reference | Racing-Reference | sports | none | light |
rbsdm | rbsdm.com | sports | derived | light / dark |
sofascore | SofaScore | sports | native | light / dark |
stathead | Stathead | sports | derived | light / dark |
tennis-abstract | Tennis Abstract | sports | none | light |
transfermarkt | Transfermarkt | sports | derived | light / dark |
ultimate-tennis-statistics | Ultimate Tennis Statistics | sports | derived | light / dark |
understat | Understat | sports | native | light / dark |
whoscored | WhoScored | sports | derived | light / dark |