apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.69k stars 19.62k forks source link

[Feature] Scatter with Marginal Histogram #20519

Closed humphreylee closed 3 days ago

humphreylee commented 6 days ago

What problem does this feature solve?

It presents an integrated presentation of data - scatter plot with marginal histogram. Examples from other application are below.

What does the proposed API look like?

Both scatter and histogram as already in place. The question is how to integrate them in single display.

MatthiasMert commented 6 days ago

https://github.com/ecomfe/echarts-stat?tab=readme-ov-file#histogram

humphreylee commented 5 days ago

Thanks! The example looks almost perfect. I'm just wondering if the histogram can be made smaller—essentially more "marginal" in comparison to the scatter plot.

Ovilia commented 3 days ago

Thanks! The example looks almost perfect. I'm just wondering if the histogram can be made smaller—essentially more "marginal" in comparison to the scatter plot.

@humphreylee Yes, sure. The size of each part can be controlled by grid.left/right/top/bottom/width/height.

humphreylee commented 3 days ago

Thanks for the quick response. I’ll give it a try using Charming, a Rust wrapper.