<script>
            if (typeof process === 'undefined' || !process.env) {
                window.process = {
                    env: {
                        NODE_ENV: 'development'
                    }
                };
            }
        </script>

        <script type="module">
            import * as echarts from 'echarts/core.js';
            import { PieChart } from 'echarts/charts.js';
            import { CanvasRenderer } from 'echarts/renderers.js';
            echarts.use([PieChart, Canvas