Remix.run Logo
anentropic 10 days ago

The lib is modular

My current build for an analytics dashboard app uses:

    echarts.use([
      // chart types:
      BarChart,
      LineChart,
      GaugeChart,
      PieChart,
      // chart features:
      TitleComponent,
      LegendComponent,
      TooltipComponent, // ~30kb
      GridComponent, // ~100kb, controls layout (not visible grid lines)
      LabelLayout,
      DatasetComponent,
      // renderer:
      SVGRenderer,
    ]);
...and comes out at 550kb minified but unzipped