79370475

Date: 2025-01-20 06:50:19
Score: 1
Natty:
Report link
 <Bar
      width="100%"
      height={300}
      data={coloredData}
      margin={{
        top: 50,
        right: 30,
        left: 20,
        bottom: 5,
      }}
      activeBar={{ fill: "blue", opacity: 0.7 }}
    />

here I used activeBar prop to change the color of active bar when hovered

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ixtiyor Sharobiddinov