Streamplot in JS

I would like to make a streamplot in JS. Here’s a link to an example

I’ve tried looking in plotting libraries (Plotly, Bokeh, D3) but couldn’t find anything. It seems like quiver is also not supported: How to create a quiver plot

Does anyone know of a way to do this? Or know that is in fact not implemented yet in any sort of plotting package?

I know this is a plotly forum, but is there another plotting package that is able to do this?

Thanks!

Plottly does support such charts:

hth,
martin

Sorry, I should’ve been clearer: I see it’s supported in Python, but I can’t find anything for it for a JavaScript implementation.

Well, the Python implementation produces JavaScript, so if Python has support for a chart-type, it should also be possible to create the chart in plain JavaScript. Maybe there is no simple API for it, but creating the chart is possible. Just have look at the (HTML/JavaScript) source of the examples page.

I created a CodePen for the steamline plot, to show you how to create such a kind of chart.