Black Lives Matter. Please consider donating to Black Girls Code today.

What are all the different types of font styles supported by plotly?

I want to provide user with a set of font styles. What are the font styles supported by plotly ?

plotly.js does not ship with any fonts directly.

Are you referring to the font available on or ?

I am referring the to the image below. Are this the only font styles i can use?

On, yes. These are the fonts we include in all our pages where graphs are present.

If you are using plotly.js, you can add any arbitrary font to your page. See example:

1 Like

Hi Etienne,

We would like to integrate your free js library in our system.
Among our major requirements is the configuration of typefaces.
Is there a possibility to alter your library in terms of adding a wider array of font types that are constantly available to our users or maybe even giving them option of uploading their own font type?

Thanks a lot in advance

The library itself will never ship with fonts.

See for an example of how to use fonts with plotly.js.