function chart(){
const ssvg = d3.create("svg")
.attr("width", dimensions.width+margin.right+margin.left)
.attr("height", dimensions.height+margin.top+margin.bottom)
.style("background-color", "floralwhite");
for (let i=0; i < beandata.length; i++ ){
let germBegin= degFrom360(beandata[i]["germinationMin"],totalBean["germination"]);
let germEnd =degFrom360(beandata[i]["germinationEnd"],totalBean["germination"]);
let tempBegin= degFrom360(beandata[i]["tempMin"],totalBean["tempMax"]);
let tempEnd =degFrom360(beandata[i]["tempMax"],totalBean["tempMax"]);
let phBegin= degFrom360(beandata[i]["phMin"],totalBean["phMax"]);
let phEnd =degFrom360(beandata[i]["phMax"],totalBean["phMax"]);
let harvestBegin= degFrom360(beandata[i]["harvestMin"],totalBean["harvestMax"]);
let harvestEnd =degFrom360(beandata[i]["harvestMax"],totalBean["harvestMax"]);
arc(ssvg, 0,360,120*1.15**0,true,i);
arc(ssvg, 0,360,120*1.15**1.1,true,i);
arc(ssvg, 0,360,120*1.15**2.1, true,i)
arc(ssvg, 0,360,120*1.15**3, true,i)
arc(ssvg, phBegin,phEnd,120*1.15**0,false,i);
arc(ssvg, germBegin,germEnd,120*1.15**1.1,false,i);
arc(ssvg, tempBegin,tempEnd,120*1.15**2.1,false,i);
arc(ssvg, harvestBegin,harvestEnd,120*1.15**3,false,i);
}
console.log(degFrom360(beandata[0]["germinationMin"],totalBean["germination"]));
return ssvg.node();
}