JSFiddle - React, Tailwind, and code Playground
HTML
<div id="test2"></div>
JavaScript
var data = [
{ known_technologies : ["prepaid billing", " postpaid billing"],company : "A",YearsOfExp:0},
{ known_technologies : ["prepaid billing", " postpaid billing"],company:"B",YearsOfExp:1}
];
var ndx = crossfilter(data);
var yearDim2 = ndx.dimension(function(d)
{
return [d.known_technologies,d.company];
});
var spendPerYear2 = yearDim2.group();
var sunburstchart = dc.sunburstChart("#test2");
sunburstchart
.width(200)
.height(200)
.innerRadius(50)
.dimension(yearDim2)
.group(spendPerYear2);