ECharts Online Compiler

About the ECharts compiler

Powerful charting and visualization library. Runs in your browser. Run ECharts code in your browser with no install and no signup — the editor, the input and the output share one screen. ECharts compiles and runs on your own device through WebAssembly, so once the page has loaded it keeps working without a network connection.

Press Run to execute the program, edit it and press Run again, or paste your own code over it. Everything you type stays in the page; the editor caches your work locally so a reload does not lose it.

A ECharts example

This is the program the ECharts editor opens with — run it as it is, then change it.

<!DOCTYPE html>
<html>
<head>
  <script src="https://cdn.jsdelivr.net/npm/echarts@5/dist/echarts.min.js"></script>
  <style>body { font-family: sans-serif; padding: 2rem; } #chart { width: 100%; height: 400px; }</style>
</head>
<body>
  <h1>ECharts Demo</h1>
  <div id="chart"></div>
  <script>
    const chart = echarts.init(document.getElementById('chart'));
    chart.setOption({
      title: { text: 'Monthly Sales' },
      xAxis: { data: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'] },
      yAxis: {},
      series: [{ type: 'bar', data: [120, 200, 150, 80, 70, 110], itemStyle: { color: '#6366f1', borderRadius: [4, 4, 0, 0] } }]
    });
  </script>
</body>
</html>

More Web UI Frameworks compilers

Browse all 109 languages — the same editor runs each of them, in the browser or on a shared runner.