Как я могу создать собственную древовидную диаграмму декомпозиции в Python ⇐ Python
Как я могу создать собственную древовидную диаграмму декомпозиции в Python
I want to create a decomposition tree chart in python but one that's slightly different than the one available in Power BI. The structure I want to create is very similar to the Power BI version, with one difference being that I want to have a layer of sub-nodes/child-nodes which would be just titles without any number associated to them (named 'sub-child' in the attached image).
Another difference would be that in Power BI, the shape of each node is a thin horizontal bar, whereas in my attached image, its a square/rectangular box with the text inside of it rather than outside (as compared to Power BI). But the first difference I mentioned is a more important requirement for the chart I want to make.
sample image of decomposition tree chart as required
I have gone through many available charts in pandas/plotly/etc for my purpose but I couldn't find any that fit my need.
Note: I have the data available in a pandas dataframe, but I don't mind changing it to any other format that would be required to make the chart.
Does anyone know how I can make this type of a chart in python? I would greatly appreciate any help.
Источник: https://stackoverflow.com/questions/781 ... -in-python
I want to create a decomposition tree chart in python but one that's slightly different than the one available in Power BI. The structure I want to create is very similar to the Power BI version, with one difference being that I want to have a layer of sub-nodes/child-nodes which would be just titles without any number associated to them (named 'sub-child' in the attached image).
Another difference would be that in Power BI, the shape of each node is a thin horizontal bar, whereas in my attached image, its a square/rectangular box with the text inside of it rather than outside (as compared to Power BI). But the first difference I mentioned is a more important requirement for the chart I want to make.
sample image of decomposition tree chart as required
I have gone through many available charts in pandas/plotly/etc for my purpose but I couldn't find any that fit my need.
Note: I have the data available in a pandas dataframe, but I don't mind changing it to any other format that would be required to make the chart.
Does anyone know how I can make this type of a chart in python? I would greatly appreciate any help.
Источник: https://stackoverflow.com/questions/781 ... -in-python
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение