Im trying to implement a sunburst chart where i have two different data sources. I have an example of what im trying to achive in the below codesandbox.
https://codesandbox.io/s/pedantic-visvesvaraya-1vsoh?fontsize=14&hidenavigation=1&theme=dark
Im not sure if this is the right way to implement this. Please correct me if im wrong. The datasource changes the first time, but doesnt work the second time. Also, i noticed that when i drill down with one data source and then change the data source to another one(without pressing back button), it errors out and acts weird.
Any kind of help would be much appreciated. Do let me know if you need more info. Thanks in advance!