Convert PLOTLY to SVG

Turn PLOTLY files into SVG. The figure drawn by Plotly at the size its layout sets, or 700 by 450, as SVG with real text.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop PLOTLY files on the dialor turn it to pick what to do

A Plotly chart as sharp SVG.The figure is drawn at the size its layout sets, with text you can select.

  1. What you get

    One SVG file of the figure as Plotly draws it. The size comes from the layout. If the layout sets none, the drawing is 700 by 450.

    The text is real text, not shapes traced from letters. Titles, axis labels and legends stay as text in the SVG.

  2. What is left out

    Animation frames are not drawn. Only the figure itself is converted.

    Map traces need outlines or tiles from the web, so they cannot be drawn. A figure with a map trace stops with unsupported_elements.

  3. Next steps

    The result is a plain SVG file. To make it lighter, try compress SVG. To put several charts in one picture, try merge SVG.

PLOTLY and SVG.What each format is.

The formats

From · PLOTLY

Plotly Figure

A Plotly chart saved as JSON, with its traces under data and its axes, titles and colors under layout.

Extensions
.plotly.json .plotly
MIME type
application/vnd.plotly.v1+json
Kind
Text and data
To · SVG

SVG

Scalable vector graphics in XML. Logos, icons and diagrams that stay sharp at any size.

Extensions
.svg .svgz
MIME type
image/svg+xml
Kind
Images

In your code.The same PLOTLY to SVG conversion through the API, for your app or your agent.

terminal
$ cv convert report.plotly.json report.svg
$ cv convert report.plotly.json report.svg

Questions.What people ask about PLOTLY to SVG.

01OF 04

It uses the size set in the layout of the figure. If the layout sets no size, the SVG is 700 by 450.

Yes. The text is real text in the SVG, not outlines of letters.

No. Animation frames are left out of the SVG.

The figure has a map trace. Map traces need outlines or tiles from the web, so the conversion stops with unsupported_elements.

More conversions.Other ways in and out of PLOTLY and SVG.