'Is there a way to represent each model of device in stack for each category column differently? Using Echarts.js

I want to represent, for example: Apple is brand and it has categories like iPhone, iPad ... and each category has different device like iPhone 12 Pro, iPad pro, iPad air ... and I want to represent them in stacked on each column, This is what I want to do -> And -> And I have this Here I put category iPhone as total amount of cost of (iPhone 12 Pro, iPhone 13 ...)

I want this kind of bar chart



Solution 1:[1]

Sure you can, here's an example:

https://echarts.apache.org/examples/en/editor.html?c=bar-y-category-stack

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Zheng Bowen