Rich-Harris / pancake

Experimental charting library for Svelte
MIT License
1.3k stars 61 forks source link

moar examples #1

Open Rich-Harris opened 4 years ago

Rich-Harris commented 4 years ago

http://skedasis.com/d3/slopegraph/https://observablehq.com/@d3/sankey-diagramhttps://observablehq.com/@d3/zoomable-area-charthttps://observablehq.com/@d3/brushable-scatterplot-matrixhttps://observablehq.com/@d3/box-plothttps://observablehq.com/@d3/stacked-to-grouped-barshttps://github.com/d3/d3/wiki/Gallery

MichaelAdamBerry commented 4 years ago

Was planning on using a stacked bar chart for an upcoming project. Would love to learn more about this package and contribute it as an example! Great work!

Rich-Harris commented 4 years ago

I do have some examples of stacking:

leeoniya commented 4 years ago

stacking is such a poor visualization paradigm, i wish it was used less :(

i've explicitly decided against supporting it in uPlot because [1] and made a glaringly terrible example here [2]. same goes for line smoothing [3].

[1] https://everydayanalytics.ca/2014/08/stacked-area-graphs-are-not-your-friend.html [2] https://leeoniya.github.io/uPlot/demos/stacked-series.html [3] http://www.vizwiz.com/2011/12/when-you-use-smoothed-line-chart-your.html

MichaelAdamBerry commented 4 years ago

@Rich-Harris Gotcha. Sorry I should have been more specific, I was thinking of creating a similar chart as the stacked-to-group chart you listed (https://observablehq.com/@d3/stacked-to-grouped-bars). Still an example you'd be interested in?

Rich-Harris commented 4 years ago

Yes, definitely!

KristerV commented 4 years ago

Michael has made that chart (two actually) and I've cleaned it up and merged into my own fork. I'd love to help you with PRs and stuff so better read here: https://github.com/Rich-Harris/pancake/issues/10