oats-center / grow

0 stars 3 forks source link

Charting libraries #4

Open abalmos opened 3 years ago

abalmos commented 3 years ago

I did a quick look around and found these candidates. Thoughts?

Svelte Frappe Charts

Examples: https://frappe.io/charts Github: https://github.com/himynameisdave/svelte-frappe-charts?ref=madewithsvelte.com

Nice charts and simple in nature. Pretty limited charts, and maybe some work to get what we need out of it?

Layer Cake

Example: https://layercake.graphics/example/Beeswarm/ Github: https://github.com/mhkeller/layercake

Seem quite fast, Svelte-first, nice looking plots. Seems to be maintained and even actively developed, but just by one or two guys on free time. From the docs, it seems it's pretty extendable too.

Carbon Design System

Example: https://charts.carbondesignsystem.com/svelte/?path=/story/simple-charts-line--line-dense-time-series Github: https://github.com/carbon-design-system/carbon-components-svelte

Pretty wide area of plot choices and maintained Svelte wrapper. Seems like a decent set of "utilities" to extend the plot (lines/box over the chart, threshold marks, zooming, etc.). Pretty complex library and extensions might be harder? No good reason to believe that at the moment though ...

[Not free] Fusion Charts

Url: https://fusioncharts.github.io/svelte-fusioncharts

Not an option because you have to license it, but I really like the "A simple TimeSeries." I think that zoom scroll bar might be a good solution to the hard to read on a mobile plot. Carbon charts as a "zoom bar" utility that gets close.

Thoughts? @lfeese @IbrahimSaeedPurdue

abalmos commented 3 years ago

For some reason I like the Svelte-first-ness of Layer Cake but Carbon charts might be a better fit?