szum

Themes

Nine 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

classic
Playfair Display
modern
Inter
dark
Inter
minimal
Roboto
brand
DM Sans
editorial
Playfair Display
pastel
Inter
neon
Space Mono
print
Roboto

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, classic
Product dashboards, SaaSmodern, brand
Dark UI, presentationsdark, neon
Print, PDF exportprint, minimal
Consumer-facing, friendlypastel

Color palettes

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

classicPlayfair Display
sequential
modernInter
sequential
darkInter
sequential
minimalRoboto
sequential
brandDM Sans
sequential
editorialPlayfair Display
sequential
pastelInter
sequential
neonSpace Mono
sequential
printRoboto
sequential

Customizing

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

Available fonts

Six font families, each with specific weights. Every text element in the chart – title, subtitle, axis labels, tick labels – uses the theme's fontFamily.

DM Sans
400, 600
Inter
400, 600
JetBrains Mono
400
Playfair Display
400, 700
Roboto
400, 500
Space Mono
400, 700

All properties

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

PropertyTypeDefaultDescription
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"DM Sans, Inter, JetBrains Mono, Playfair Display, Roboto, Space Mono.
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.

On this page