szum

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

modern
Inter
editorial
Playfair Display
dark
Inter
neon
Space Mono
pastel
Nunito
technical
JetBrains Mono

Try them

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

Playfair Display

Setting a theme is one property:

{ "theme": "editorial" }

Which theme for what

ContextRecommended
Data journalism, reportseditorial
Product dashboards, SaaSmodern
Dark UI, presentationsdark, neon
Dashboards, technical reportstechnical
Consumer-facing, friendlypastel

Color palettes

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

modernInter
sequential
editorialPlayfair Display
sequential
darkInter
sequential
neonSpace Mono
sequential
pastelNunito
sequential
technicalJetBrains Mono
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, 600
Playfair Display
400, 700
JetBrains Mono
400
Space Mono
400, 700
Nunito
400, 600

Any Google Font (Pro)

On a Pro plan, you can use any of 1,938+ 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 modern theme. Override any of these via themeOverrides.

PropertyTypeDefault (modern)Description
backgroundColorstring"#ffffff"Chart canvas background.
sequentialRange[string, string]["#e0ecf4","#4c78a8"]Start and end colors for sequential scales.
colorsstring[][10 items]Categorical color palette (up to 10).
fontFamilystring"Inter"Any Google Fonts family name.
fontSizenumber12Base font size for tick labels.
titleFontWeightstring"600"Title font weight.
titleFontSizenumber18Title font size in pixels.
subtitleFontSizenumber13Subtitle font size in pixels.
titleColorstring"#111"Title text color.
subtitleColorstring"#777"Subtitle text color.
titleSubtitleGapnumber6Space between title and subtitle.
headerGapnumber12Space between header block and plot area.
axisLineWidthnumber0.6Axis line thickness.
axisColorstring"#bbb"Axis line color.
axisLabelColorstring"#444"Axis label text color.
axisLabelFontWeightstring"600"Axis label font weight.
gridLineWidthnumber0.5Grid line thickness.
gridColorstring"#f0f0f0"Grid line color.
tickSizenumber4Tick mark length in pixels.
tickPaddingnumber4Space between tick mark and label.
tickLabelColorstring"#666"Tick label text color.
tickLabelFontWeightstring"400"Tick label font weight.

On this page