I want to show an average in the bar graph as a straight line.
How can I do this in the bar graphs?
Below is what I am looking for.

@AbhishekDS-Userfacet you can add a VictoryLine component with a constant y value like
<VictoryChart>
<VictoryBar .../>
<VictoryLine y={() => 150} />
</VictoryChart>
Most helpful comment
@AbhishekDS-Userfacet you can add a
VictoryLinecomponent with a constant y value like