gt-extras
  • Get Started
  • API Reference
  1. API Reference
  • API Reference
  • Plotting
    • gt_plt_bar
    • gt_plt_dot
    • gt_plt_conf_int
  • Colors
    • gt_highlight_cols
    • gt_hulk_col_numeric
    • gt_color_box
  • Themes
    • gt_theme_538
    • gt_theme_espn
    • gt_theme_guardian
    • gt_theme_nytimes
    • gt_theme_excel
    • gt_theme_dot_matrix
    • gt_theme_dark
    • gt_theme_pff
  • Icons and Images
    • fa_icon_repeat
    • gt_fa_rating
  • HTML Helpers
    • gt_hyperlink
    • with_tooltip

On this page

  • API Reference
    • Plotting
    • Colors
    • Themes
    • Icons and Images
    • HTML Helpers

API Reference

Plotting

gt_plt_bar Create horizontal bar plots in GT cells.
gt_plt_dot Create dot plots with thin horizontal bars in GT cells.
gt_plt_conf_int Create confidence interval plots in GT cells.

Colors

gt_highlight_cols Add color highlighting to one or more specific columns.
gt_hulk_col_numeric Apply a color gradient to numeric columns in a GT object.
gt_color_box Add PFF-style color boxes with values to numeric columns in a GT object.

Themes

Functions to generate themes.

gt_theme_538 Applies a FiveThirtyEight-inspired theme to a GT object.
gt_theme_espn Applies an ESPN-inspired theme to a GT object.
gt_theme_guardian Applies a Guardian-inspired theme to a GT object.
gt_theme_nytimes Applies a New York Times-inspired theme to a GT object.
gt_theme_excel Applies an Excel-inspired theme to a GT object.
gt_theme_dot_matrix Applies a dot-matrix-inspired theme to a GT object.
gt_theme_dark Applies a dark mode theme to a GT object.
gt_theme_pff Applies a Pro Football Focus (PFF)-inspired theme to a GT object.

Icons and Images

fa_icon_repeat Create repeated FontAwesome SVG icons as HTML.
gt_fa_rating Create icon ratings in GT cells using FontAwesome icons.

HTML Helpers

gt_hyperlink Create HTML hyperlinks for use in GT object cells.
with_tooltip Create HTML text with tooltip functionality for use in GT table cells.
gt_plt_bar