plotly / react-plotly.js

A plotly.js React component from Plotly 📈
MIT License
1.01k stars 135 forks source link

Request for Kernel Density Estimate Plot Feature in react-plotly #336

Open dbenet-ntu opened 7 months ago

dbenet-ntu commented 7 months ago

Dear React-Plotly Developers,

I'd like to create KDE plots in my React-Plotly dashboard, similar to the Python Plotly function ff.create_distplot. However, I couldn't find a direct way to do this with React-Plotly.

Can you provide guidance or a workaround for creating KDE plots in React-Plotly? This feature would greatly enhance data visualization capabilities in React applications.

Thank you for your help!

alexcjohnson commented 7 months ago

If all you want is the KDE, try a one-sided violin plot, like https://plotly.com/python/violin/#ridgeline-plot

If you want the histogram and/or rug as well, these can be added as separate histogram and scatter traces.