Skip to content

fontFamily

The default fallback font list used for all text labels as an Array of Strings.

The fallback stack every chart uses for its text, from Inter down to the generic sans-serif. Pass your own array to a chart’s fontFamily config, or use this one as the base when you only want to prepend a brand font.

import {fontFamily} from "@d3plus/text";

fontFamily;

Parameters

import {fontFamily} from "@d3plus/text";