Compare / Convert

Paste a chart. Get the spec.

Chart.js, Recharts, or ECharts. The result is a ChartKit spec after validate() and repair(), plus a warning for each unmapped key. Those three libraries load on this page only. @chartkitdev/convert is unpublished.

detected · Recharts
18 lines · runs in your browser, nothing is uploaded
● valid
SeatsSeats. New seats is plotted by month.SeatsCap020406080JanFebMarAprNew seatsmonthNew seatsExpansionGoal

Both

Same data, both renderers.

The vendor library draws the paste. ChartKit draws the converted spec. Vendor code loads on this page only.

original · Rechartsrecharts
Rendered by the vendor library from the paste.
chartkit · converted specstatic svg
SeatsSeats. New seats is plotted by month.SeatsCap020406080JanFebMarAprNew seatsmonthNew seatsExpansionGoal
Static SVG from the spec. No vendor runtime.

Coverage

What maps, what warns.

These lists are what @chartkitdev/convert actually maps. A warning code is CK81xx, not a draft CV code.

Chart.js18 mapped · 7 warn
linearea (dataset.fill)barbar groupedbar stackedgrouped stacks (several stack ids)horizontal bar (indexAxis y)piedoughnutscatterbubblecombo (mixed dataset types)titlelegendtooltipaxis title, min, max, beginAtZero, gridseries colourv2 title, legend, and xAxes/yAxesradarpolarAreatime scale adaptersplugins.annotation and other pluginsscriptable options and canvas gradientsper-point colour arrays on bars (first colour only)more than two y axes
Recharts13 mapped · 4 warn
LineChart lineAreaChart areaBarChart grouped and stacked (stackId)horizontal bars (layout vertical)Pie and Pie innerRadius as donutScatterChartbubble when ZAxis is setComposedChart combostacked bars beside an unstacked lineLegend, Tooltip, CartesianGridXAxis and YAxis labelsReferenceLine and ReferenceAreacurve monotone, linear, and stepRadialBarChartBrush, ErrorBar, and LabelListcustom shapes and render propsJSX spreads and unbound identifiers
ECharts15 mapped · 4 warn
linearea (areaStyle)barbar groupedbar stackedstack groups, including a stack beside an unstacked seriespiedonut (radius array)scatterbubble (symbolSize or a third data value)combo (mixed series types)title, legend, tooltipxAxis.name, yAxis.name, min, maxmarkLine and markAreasmoothheatmap, gauge, candlestick, radar, graph, and map seriesdataset.encode beyond a category axis plus series.datavisualMap, dataZoom, and toolboxsymbolSize functions