Tools · Plotly

Online Plotly editor

Paste a Plotly figure, its data and layout as JSON, and see it drawn by Plotly.js. It runs in your browser and the figure is not sent anywhere; download the chart as SVG or PNG.

See the examplesHave Forma write one

Or describe it in words and get source you can edit, checked before you see it.

Part of Forma Visuals: Chart your data · For developers

⌘ or Ctrl + Enter draws; this chart also redraws as you type
loadingStarting the renderer…

Correlation heatmap A correlation matrix as a Plotly heatmap: a diverging RdBu scale fixed from -1 to 1 with zmin and zmax, and every cell labelled with its value by texttemplate. Illustrative data.

In your browser, drawn with Plotly.js (MIT), Apache ECharts (Apache-2.0, notice), Chart.js (MIT).

01 Examples

Plotly examples to start from.

02 About Plotly

What Plotly is good for.

Plotly describes a chart as a list of traces plus a layout. The same JSON draws in Plotly for Python, R and JavaScript, so a figure written or generated once can be shown anywhere.

Which trace types are supported?

The 2D ones in Plotly.js: scatter, bar, box, violin, histogram, 2D histogram, heatmap, contour and pie. 3D, map and Sankey traces are not loaded, and the editor says so if a figure uses one.

Can I paste a Python figure?

Yes, as JSON: in Python, fig.to_json() gives exactly the data and layout this editor reads.

Is my data uploaded?

No. Plotly charts are drawn in a sandboxed frame on this page, which cannot reach the network or your storage.