Any pointers to a 3D scatterplot in Observable Plot? The closest I can find by Googling is this: 3D Scatter Plot / Dave Brown | Observable, but it is more involved than I would like it to be.
Thanks!
Any pointers to a 3D scatterplot in Observable Plot? The closest I can find by Googling is this: 3D Scatter Plot / Dave Brown | Observable, but it is more involved than I would like it to be.
Thanks!
I donāt think Observable Plot has any genuine 3D capabilities. Of course, thereās a wide range of Javascript libraries that you can use on Observable. I think that one of the easiest to use charting libraries with 3D capabilities is probably ECharts. Hereās an example of a 3D scatter plot on Observable using ECharts:
This example is taken almost verbatim from this ECharts example but written in idiomatic Observable.
Wonderful! You are a true wonder!
Iām in the Apple walled garden, and am not able to reproduce this on either my Intel Mac or M4 Mac. I just get a blank. What am I missing? thx ā
Here is link to the notebook
I guess a brand new version of ECharts was just released, as the version number is reported as V6.0.0 after itās required into the notebook. It seems to work with V5, though, so give it a try now.
All I did was include a version number @5 in the require statement like:
echarts = require("echarts@5", "echarts-gl")
It might be better to try to adapt the code to work with V6; Iām no echarts expert, though.
Thank you! Will give it a shot.
Gani-
Because I needed a minimalist 3d scatter plot for something else I was working on, I created a simple one here based on three.js, that may be of use.