# 3D scatterplot?

**URL:** <https://talk.observablehq.com/t/3d-scatterplot/8652>\
**Category:** Help\
**Created:** [December 27, 2023, 2:33pm UTC](https://talk.observablehq.com/t/3d-scatterplot/8652 "2023-12-27T14:33:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![matvil](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/matvil/32/7356_2.png) [@matvil](https://talk.observablehq.com/u/matvil)\
**Post date:** [December 27, 2023, 2:33pm UTC](https://talk.observablehq.com/t/3d-scatterplot/8652/1 "2023-12-27T14:33:37Z")

</div>

Any pointers to a 3D scatterplot in Observable Plot? The closest I can find by Googling is this: [3D Scatter Plot / Dave Brown | Observable](https://observablehq.com/@drdavidbrown/3d-scatter-plot), but it is more involved than I would like it to be.

Thanks!

---

<div class="post-metadata">

**Author:** ![mcmcclur](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mcmcclur/32/2364_2.png) [@mcmcclur](https://talk.observablehq.com/u/mcmcclur)\
**Post date:** [December 27, 2023, 5:47pm UTC](https://talk.observablehq.com/t/3d-scatterplot/8652/2 "2023-12-27T17:47:29Z")

</div>

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](https://echarts.apache.org/en/index.html). Here’s an example of a 3D scatter plot on Observable using ECharts:

> **[3D scatterplot using ECharts](https://observablehq.com/d/aa6c99acc5024e41)**
>
> Copied directly from this ECharts example in response to this forum question.

This example is taken almost verbatim from [this ECharts example](https://echarts.apache.org/examples/en/editor.html?c=scatter3D-dataset&gl=1) but written in idiomatic Observable.

---

<div class="post-metadata">

**Author:** ![matvil](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/matvil/32/7356_2.png) [@matvil](https://talk.observablehq.com/u/matvil)\
**Post date:** [December 27, 2023, 6:28pm UTC](https://talk.observablehq.com/t/3d-scatterplot/8652/3 "2023-12-27T18:28:33Z")

</div>

Wonderful! You are a true wonder!

---

<div class="post-metadata">

**Author:** ![gganapat](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/gganapat/32/2132_2.png) [@gganapat](https://talk.observablehq.com/u/gganapat)\
**Post date:** [August 26, 2025, 8:52pm UTC](https://talk.observablehq.com/t/3d-scatterplot/8652/4 "2025-08-26T20:52:27Z")

</div>

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](https://observablehq.com/d/aa6c99acc5024e41) to the notebook

 ![Screenshot 2025-08-26 at 1.51.24 PM](https://canada1.discourse-cdn.com/flex030/uploads/observablehq/original/2X/0/03b49f51c7f521ffa9cd14d3b8bd8824f43ce1dc.png)

---

<div class="post-metadata">

**Author:** ![mcmcclur](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mcmcclur/32/2364_2.png) [@mcmcclur](https://talk.observablehq.com/u/mcmcclur)\
**Post date:** [August 27, 2025, 12:14am UTC](https://talk.observablehq.com/t/3d-scatterplot/8652/5 "2025-08-27T00:14:42Z")

</div>

> [@gganapat](#):
>
> not able to reproduce this on either my Intel Mac or M4 Mac. I just get a blank.

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.

---

<div class="post-metadata">

**Author:** ![gganapat](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/gganapat/32/2132_2.png) [@gganapat](https://talk.observablehq.com/u/gganapat)\
**Post date:** [August 27, 2025, 5:22am UTC](https://talk.observablehq.com/t/3d-scatterplot/8652/6 "2025-08-27T05:22:51Z")

</div>

Thank you! Will give it a shot.

Gani-

---

<div class="post-metadata">

**Author:** ![jwoLondon](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/jwolondon/32/259_2.png) [@jwoLondon](https://talk.observablehq.com/u/jwoLondon)\
**Post date:** [September 6, 2025, 9:58pm UTC](https://talk.observablehq.com/t/3d-scatterplot/8652/7 "2025-09-06T21:58:21Z")

</div>

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.

[3d Scatterplot / Jo Wood | Observable](https://observablehq.com/@jwolondon/3d-scatterplot)
