# 3D Bar Chart

**URL:** <https://forum.knime.com/t/3d-bar-chart/46151>\
**Category:** KNIME Analytics Platform\
**Created:** [August 20, 2022, 1:17am UTC](https://forum.knime.com/t/3d-bar-chart/46151 "2022-08-20T01:17:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rogerius1st](https://forum-cdn.knime.com/user_avatar/forum.knime.com/rogerius1st/32/38975_2.png) [@rogerius1st](https://forum.knime.com/u/rogerius1st)\
**Post date:** [August 20, 2022, 1:17am UTC](https://forum.knime.com/t/3d-bar-chart/46151/1 "2022-08-20T01:17:23Z")

</div>

Dear Knimers,  
I wish to plot my Covid data (on its initial 16 months) into a 3D Bar Chart. Is it possible to perform using just Knime resources? In such a case, which nodes should I use? Or there is any specific node (or component) to be used in similar situations?  
My data are as follows:  
 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/b/0/b06a64261a4fd50d42ed52799c4c15b62484c812.png)  
The same data are stored into this XLSX file:  
[M vs F COVID-19 cases.xlsx](https://forum.knime.com/uploads/short-url/1yo1Ylu1PXEsxhSt9YaZDlHoi4z.xlsx) (10.8 KB)  
In Excel, I easily got to perform the wished 3D Bar Chart, as follows:

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/f/b/fb1f6bcc037fdd78e04c88bbc1a5f49f8d04fe9d.png)

Can someone help me on this (probably very easy) task?

Thank you for any help.  
Rogério.

---

<div class="post-metadata">

**Author:** ![dora\_gcs](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/d/e9c0ed/32.png) [@dora\_gcs](https://forum.knime.com/u/dora_gcs)\
**Post date:** [August 22, 2022, 10:16am UTC](https://forum.knime.com/t/3d-bar-chart/46151/2 "2022-08-22T10:16:11Z")

</div>

Hello @rogerius1st ,

I am afraid 3D Bar Chart is not easily (if at all) available at the moment how do you want to use. But to be honest maybe not 3D Bar Chart is the best visualization to show data which has time series nature… Moreover with these specific data if they are shown with bar chart it is really hard to tell which group (Female, Male) are higher data.  
If it is not crucial to show the monthly aggregated number (and only them) I would suggest to use other charts to tell your story.  
What do you think, maybe these pictures could work for you?

[Stacked Area Chart (Plotly)](https://hub.knime.com/knime/extensions/org.knime.features.js.plotly/latest/org.knime.dynamic.js.v30.DynamicJSNodeFactory:a186c725)

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/d/6/d6578334138c3f744ca188543ea51f2f2ddd9f40.png)

You can zoom in if you want to select an area, and tell more about that data point, like this:

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/6/3/635141e0b3c3cfc787b20b8c4cf6d8183419b547.png)

Or if you want to use bar chart, you can use the group bar chart, to make your data comparable. (  
[Bar Chart](https://hub.knime.com/knime/extensions/org.knime.features.js.views/latest/org.knime.dynamic.js.v30.DynamicJSNodeFactory:1d2c1a0e)

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/b/6/b6b387fad13aa8a72a835160ba62fddb41618a21.png)

I hope it helps, regards,  
Dora

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [August 22, 2022, 6:04pm UTC](https://forum.knime.com/t/3d-bar-chart/46151/3 "2022-08-22T18:04:27Z")

</div>

@rogerius1st unfortunately not that easy but with the help of an (integrated) Python node and [Matplotlib](https://hub.knime.com/search?type=Workflow&tag=python,graphic&sort=maxKudos) it can be done. Since the [3D package is still under development](https://matplotlib.org/stable/api/toolkits/mplot3d/faq.html) some additional tweaks might be necessary.

 ![from_knime_bar_3d_chart](https://forum-cdn.knime.com/uploads/default/original/3X/5/3/532a9163290d4a64ffda4af9bdecdc8e61b4563a.png)

The data though had to be transposed in order to fit with the example. Also you might have to tweak the code further to adapt the grid lines and other things.

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/f/4/f4b003757a7fb7b7f281bc9d1dd7eebc451977ce.png)

Thanks to the new [Python integration since KNIME 4.6](https://docs.knime.com/latest/python_installation_guide/#setup_python_integration) it will be enough to install the extension without any further installation of conda etc.

> **[KNIME (4.6) & Python Graphics - 3D Bar Charts - using bundled Python...](https://hub.knime.com/mlauber71/spaces/Public/kn_example_python_graphic_bar_3d_chart~9Pis90iS1hdlFqju/current-state)**
>
> KNIME (4.6) & Python Graphics - 3D Bar Charts - using bundled Python version (no additional Python installation necessary) adapted from: https://stackoverflow.…

[kn\_example\_python\_graphic\_bar\_3d\_chart.knwf](https://forum.knime.com/uploads/short-url/4nCycxaLcoIWHj9agZLX7OzBxWV.knwf) (2.3 MB)

–  
Edit: [https://medium.com/low-code-for-advanced-data-science/knime-and-python-graphics-another-collection-of-examples-7674a1f5613f](https://medium.com/low-code-for-advanced-data-science/knime-and-python-graphics-another-collection-of-examples-7674a1f5613f)

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [November 20, 2022, 6:04pm UTC](https://forum.knime.com/t/3d-bar-chart/46151/4 "2022-11-20T18:04:36Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
