# Stream tube data formation

**URL:** <https://community.plotly.com/t/stream-tube-data-formation/30166>\
**Category:** plotly.js\
**Created:** [October 17, 2019, 1:51pm UTC](https://community.plotly.com/t/stream-tube-data-formation/30166 "2019-10-17T13:51:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sravani](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@sravani](https://community.plotly.com/u/sravani)\
**Post date:** [October 17, 2019, 1:51pm UTC](https://community.plotly.com/t/stream-tube-data-formation/30166/1 "2019-10-17T13:51:58Z")

</div>

For stream tube plotting, it need u, v, w along with x,y,z. how can get those values and also can you share a link which will use json data not csv.

---

<div class="post-metadata">

**Author:** ![archmoj](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/archmoj/32/8388_2.png) [@archmoj](https://community.plotly.com/u/archmoj)\
**Post date:** [November 8, 2019, 4:07pm UTC](https://community.plotly.com/t/stream-tube-data-formation/30166/2 "2019-11-08T16:07:44Z")

</div>

Here you could find a [demo](https://codepen.io/MojtabaSamimi/pen/dyyKvmZ?editors=0010) showing basic `streamtube`, `cone`, `mesh3d`, `surface`, `isosurface` and `volume`.  
If you have data for 3 dimensions (x, y, z) `surface` or `mesh3d` plot may be better options.  
If you have data for 4 dimensions (x, y, z, value) `iso-surface` and `volume` could be used.  
And in case of having 6 dimensions (x, y, z, u, v, w) `cone` plot or `streamtube` could be used.  
[Here](https://codepen.io/MojtabaSamimi/pen/jOOKmEb?editors=0010) is a more sophisticated `cone` and `streamtube` plots displaying a wind model.
