# Babyplots - A 3D Plotting Library

**URL:** <https://forum.babylonjs.com/t/babyplots-a-3d-plotting-library/15490>\
**Category:** Demos and projects\
**Created:** [November 6, 2020, 8:06pm UTC](https://forum.babylonjs.com/t/babyplots-a-3d-plotting-library/15490 "2020-11-06T20:06:57Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![derpylz](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/derpylz/32/12059_2.png) [@derpylz](https://forum.babylonjs.com/u/derpylz)\
**Post date:** [November 6, 2020, 8:06pm UTC](https://forum.babylonjs.com/t/babyplots-a-3d-plotting-library/15490/1 "2020-11-06T20:06:57Z")

</div>

Hi everybody!  
I’m happy to share with you a passion project that I have been working on for well over a year:

**babyplots** is an easy to use plotting library, to create interactive 3-dimensional visualizations. It is available as a javascript/typescript library, an R package, an interactive node-based creator and as an add-in for Microsoft PowerPoint. A python implementation is on its way.

Check it out here: [https://bp.bleb.li](https://bp.bleb.li)

The website not only serves as a place for the show-cases and the documentations, but also as a way to publish plots created with the library, to easily share them with others as well as to embed them in web-pages as well as PowerPoint presentations.

A couple of screenshots (of course they look better in 3D 😄 ):

![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/c/ced88cf675b101f3eb64f3f43eb3b1023ff14d25.png)

![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/5/52ddbb8ac004f202bed7352407b4642f9fb29287.png)

![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/c/c72aa927fcf1bd67a423db3fb2ecfec1b659c0cd.png)

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/d/d361171b8bdc48c7193978006ceb2cbdcdb41fd4.png)

As a little history: In my line of work (bioinformatics) we regularly deal with high-dimensional data, visualizing it, however, in only 2-dimensional plots. I noticed that a lot of information is lost and could be recovered when using one extra dimension. I was unhappy with the available solutions for 3D plotting and decided to create babyplots. Babylon.js was a perfect fit because of its amazing performance: our plots regularly need to show over 100,000 data points. As I was working on the library, another problem arose: how do I share the plots with my co-workers, or collaborators? Because of this, I started working on the website and the PowerPoint add-in. Now babyplots is finally in a state that I feel comfortable sharing it to the world.

Let me know what you think, and who knows, it might even be useful for you.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [November 6, 2020, 8:56pm UTC](https://forum.babylonjs.com/t/babyplots-a-3d-plotting-library/15490/2 "2020-11-06T20:56:40Z")

</div>

That is freaking cool!

@PirateJC we need to add it on our references page!!!

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [November 6, 2020, 8:57pm UTC](https://forum.babylonjs.com/t/babyplots-a-3d-plotting-library/15490/3 "2020-11-06T20:57:18Z")

</div>

Also adding @thomlucc

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [November 7, 2020, 7:30pm UTC](https://forum.babylonjs.com/t/babyplots-a-3d-plotting-library/15490/5 "2020-11-07T19:30:42Z")

</div>

Amazing library!

---

<div class="post-metadata">

**Author:** ![REX\_DUNGEUR](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/rex_dungeur/32/17559_2.png) [@REX\_DUNGEUR](https://forum.babylonjs.com/u/REX_DUNGEUR)\
**Post date:** [November 8, 2020, 9:22am UTC](https://forum.babylonjs.com/t/babyplots-a-3d-plotting-library/15490/6 "2020-11-08T09:22:29Z")

</div>

Nice man!

---

<div class="post-metadata">

**Author:** ![atmin](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/atmin/32/7756_2.png) [@atmin](https://forum.babylonjs.com/u/atmin)\
**Post date:** [November 12, 2020, 10:11am UTC](https://forum.babylonjs.com/t/babyplots-a-3d-plotting-library/15490/7 "2020-11-12T10:11:23Z")

</div>

Hi @derpylz. I was able to open the site and I find Babyplots very nice 👍

Heads up, the server started giving me 500 internal server errors and is in this state now.

I am curious about the license of this library and if the source is hosted somewhere (I cannot find “babyplots” on npm or github). Thanks!

---

<div class="post-metadata">

**Author:** ![atmin](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/atmin/32/7756_2.png) [@atmin](https://forum.babylonjs.com/u/atmin)\
**Post date:** [November 12, 2020, 10:37am UTC](https://forum.babylonjs.com/t/babyplots-a-3d-plotting-library/15490/8 "2020-11-12T10:37:44Z")

</div>

Server is working now, and I was able to see the library is hosted there, in minified form only. The included license file includes the licenses of BabylonJS and Chroma, but not Babyplots itself.

I am asking, because I am working on providing high-level API, CDN-hosted, npm-available, MIT-licensed, download-only-what-you-use, library for linked interactive scenes, based on BabylonJS. This would be a very fine capability to include 🙂

I am yet to announce this, but sneak peek, [GitHub - atmin/pan0.net](https://github.com/atmin/pan0.net)

---

<div class="post-metadata">

**Author:** ![derpylz](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/derpylz/32/12059_2.png) [@derpylz](https://forum.babylonjs.com/u/derpylz)\
**Post date:** [November 12, 2020, 10:51am UTC](https://forum.babylonjs.com/t/babyplots-a-3d-plotting-library/15490/9 "2020-11-12T10:51:59Z")

</div>

Hi @atmin! Thanks for your interest! The babyplots source repository is currently private and the license is not yet finalised. However, I will likely make it public in the next few days.

Your project sounds exiting. I’d be happy to help with any questions you might have with the babyplots library. Let’s move this discussion to the babyplots discord channel.

---

<div class="post-metadata">

**Author:** ![atmin](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/atmin/32/7756_2.png) [@atmin](https://forum.babylonjs.com/u/atmin)\
**Post date:** [November 12, 2020, 10:59am UTC](https://forum.babylonjs.com/t/babyplots-a-3d-plotting-library/15490/10 "2020-11-12T10:59:34Z")

</div>

Thank you so much! I’ll be available in Babyplots Discord for specific discussion.

---

<div class="post-metadata">

**Author:** ![MQDev](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mqdev/32/16773_2.png) [@MQDev](https://forum.babylonjs.com/u/MQDev)\
**Post date:** [June 16, 2021, 3:52pm UTC](https://forum.babylonjs.com/t/babyplots-a-3d-plotting-library/15490/11 "2021-06-16T15:52:13Z")

</div>

Is it possible to achieve this kind of result using Babyplots?

![cascata-geral](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/2/a/2ab96b2ccb491f0604d3387d18aef62342db918e.gif)

---

<div class="post-metadata">

**Author:** ![derpylz](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/derpylz/32/12059_2.png) [@derpylz](https://forum.babylonjs.com/u/derpylz)\
**Post date:** [June 16, 2021, 4:11pm UTC](https://forum.babylonjs.com/t/babyplots-a-3d-plotting-library/15490/12 "2021-06-16T16:11:01Z")

</div>

Hi! This type of plot is currently not implemented in babyplots. We currently have 3d point clouds, shape clouds, surfaces, heat maps and image stacks. You can see the features of babyplots at its homepage (linked in the top post).

I could possibly implement something like this in the future, but it’s not on the current road map.
