To do this I use a custom barComponent
and make a minor change to the @nivo/bar source
This is what my barComponent
looks like:
const CHART_HEIGHT = 300; // Set this to the height of your chart.
const CustomBarComponent = (props: any) => {
const {