Pie Chart


 <PieChart>
     <Pie
        data={data}
        cx="50%"
        cy="50%"
        labelLine={false}
        label={renderCustomizedLabel}
        outerRadius={120}
        fill="#8884d8"
    >
        {
            data.map((entry, index) =>  <Cell key={index} fill={COLORS[index % COLORS.length]} />)
        }
     </Pie>
 </PieChart>

Bar Chart

results matching ""

    No results matching ""