Free Plotly Playground

Free Python Plotly Playground Online

Write Python Plotly code in the browser and render the chart instantly with fig.show().

Run Plotly online
Interactive Python charts
No Jupyter required
Good for AI-generated code

Editor

Write or tweak the sample code

The starter example uses Plotly Express and Gapminder data so you can verify the runtime immediately, then branch into your own dataset or chart type.

Ctrl/Cmd + Enter

Loading the Python and Plotly runtime...

Finish the script with fig.show(). To fetch external CSV data, use http.open_url(url) inside Python.

Output

Rendered Plotly chart

The figure renders directly on the page so you can inspect traces, hover states, legend behavior, animation controls, and layout changes without leaving the browser.

Zoom, pan, hover, export
Run the sample code to render your first Plotly chart.

FAQ

Common questions about the Plotly playground

Is this Plotly playground free to use?

Yes. The playground runs in the browser and is available as a free public page on SQLPad.

How do I display a chart in the playground?

Create a Plotly figure named fig and finish your code with fig.show() so the playground knows what to render.

Does the playground support plotly.express and graph_objects?

Yes. You can prototype charts with plotly.express or build lower-level figures with plotly.graph_objects.

Can I load external CSV data in the Plotly playground?

Yes. Use pyodide.http.open_url with pandas read_csv instead of direct network calls from Pandas.