Library
ChartsECharts
Feature-rich charting toolkit for interactive visualizations.
UnverifiedActive
Unverified
Compatibility has not been verified yet in the PreactHub catalog.
Packageecharts
npm install echartsimport * as echarts from "echarts"; const chart = echarts.init(container);chart.setOption({ xAxis: {}, yAxis: {}, series: [{ type: "bar", data: [3, 7, 5] }] });Introduction
ECharts is attractive when you need richer interaction, map support or more complex chart types.
Preact configuration
Most integrations render into a managed DOM element after hydration.
SSR notes
Treat the visualization itself as client-only unless your setup provides a dedicated server-rendering path.
Islands notes
When using this library inside an island, keep browser-specific setup inside the island component or an effect, and pass only serializable props from the server-rendered page.