Themes

Six built-in themes. One property, complete visual identity.

Some features on this page require a paid plan. See Plans & Limits.

Pick a theme and get typography, colors, axes, and grid – all coherent, no tweaking required.

All themes

editorial
Inter
clean
Inter Tight
noir
Geist
loud
Archivo
soft
Nunito
technical
IBM Plex Sans

Try them

Click a theme to see it applied to the same chart.

Inter

Setting a theme is one property:

{ "theme": "editorial" }

Which theme for what

ContextRecommended
Data journalism, reportseditorial
Product dashboards, SaaSclean
Dark UI, presentationsnoir, loud
Dashboards, technical reportstechnical
Consumer-facing, friendlysoft

Color palettes

Every theme ships with a 10-color categorical palette and a sequential gradient.

editorialInter
sequential
cleanInter Tight
sequential
noirGeist
sequential
loudArchivo
sequential
softNunito
sequential
technicalIBM Plex Sans
sequential

Customizing

themeOverrides merges with the base theme – only specify what you want to change. Requires a Pro plan.

Available fonts

Each built-in theme ships with a curated font pairing. Every text element in the chart – title, subtitle, axis labels, tick labels – uses the theme's fontFamily.

Inter
400, 700
Fraunces
600
Inter Tight
400, 600, 700
Geist
400, 500, 600
Archivo
400, 700, 600, 800, 500
Unbounded
800
Nunito
400, 600
Baloo 2
700
IBM Plex Sans
400, 500, 600
IBM Plex Mono
400

Any Google Font (Pro)

On a Pro plan, you can use any of 1,943 Google Fonts families via themeOverrides.fontFamily. Fonts are embedded in SVG output automatically.

{
  "theme": "editorial",
  "themeOverrides": {
    "fontFamily": "Cormorant Garamond"
  }
}

Free plans use the five built-in theme fonts above.

All properties

Every theme property with its type and default value. Defaults shown are from the editorial theme. Override any of these via themeOverrides.

PropertyTypeDefault (editorial)Description
backgroundColorstring"#f9f7f4"Chart canvas background.
sequentialRange[string, string]["#e7e0d5","#23314c"]Start and end colors for sequential scales.
colorsstring[][10 items]Categorical color palette (up to 10).
fontFamilystring"Inter"Any Google Fonts family name (body text: ticks, labels).
titleFontFamilystring"Fraunces"Display family for the title (defaults to the body family).
numericFontFamilystring"Inter"Family for numeric axis tick labels – set a monospace for tabular figures.
fontSizenumber12Base font size for tick labels.
titleFontWeightstring"600"Title font weight.
titleFontSizenumber24Title font size in pixels.
subtitleFontSizenumber14Subtitle font size in pixels.
titleColorstring"#1a1a1a"Title text color.
subtitleColorstring"#6b6b6b"Subtitle text color.
titleSubtitleGapnumber8Space between title and subtitle.
headerGapnumber14Space between header block and plot area.
footerFontSizenumber11Footer caption font size in pixels.
footerColorstring"#8a8276"Footer caption text color.
footerLinkColorstring"#4f7ca8"Color of auto-detected links in the footer.
footerGapnumber18Space between the plot area and the footer caption.
axisLineWidthnumber0.75Axis line thickness.
axisColorstring"#a89f8e"Axis line color.
axisLabelColorstring"#4a4a4a"Axis label text color.
axisLabelFontWeightstring"700"Axis label font weight.
gridLineWidthnumber0.3Grid line thickness.
gridColorstring"#e6e0d6"Grid line color.
tickSizenumber0Tick mark length in pixels.
tickPaddingnumber7Space between tick mark and label.
tickLabelColorstring"#6b6b6b"Tick label text color.
tickLabelFontWeightstring"400"Tick label font weight.
tickDensitynumber0.6Fraction of tick marks to keep, 0–1 (1 = all; lower drops intermediate ticks, keeping the ends).
gridLines"none" | "value" | "both""value"Which axis carries gridlines (value = the measure axis only).
axisFrame"none" | "baseline" | "lShape" | "full""baseline"Axis enclosure: frameless, just the baseline, an L-shape, or a full box.
curve"linear" | "monotone" | "step""linear"Line/area interpolation (a line/area mark's curve overrides). monotone smooths without overshoot.
barPaddingnumber0.18Gap between bars as a fraction of the band (0–1).
barCornerRadiusnumber0Corner radius on the value end of bars (a bar mark's cornerRadius overrides).
pieCornerRadiusnumber0Corner radius on pie/donut slices (a pie mark's cornerRadius overrides).
lineStrokeWidthnumber2.25Default line thickness (a line mark's strokeWidth overrides).
dotRadiusnumber3Default dot/scatter radius (a dot mark's r overrides).
labelColorstring"#1a1a1a"Value label text color (used off-mark, e.g. above a bar).
labelFontSizenumber12Value label font size in pixels.
labelFontWeightstring"700"Value label font weight.
labelHaloWidthnumber2.5Halo thickness behind value labels for legibility (0 off).
labelMutedFontWeightstring"400"Font weight for a muted (secondary) part of a composite label.
labelMutedOpacitynumber0.7Opacity for a muted (secondary) part of a composite label.

On this page