Describe the solution you'd like
The goal is to have control over the color used for each country value.
Describe alternatives you've considered
I've tried using the following props:
defs + match
Defining a pattern/color and then applying a match condition. The problem here is that it seems to only work with id and I want to be able to do it with values.
fillColor
Passing a callback to apply color based on the current country label (name).
Is your feature request related to a problem? Please describe. https://github.com/plouc/nivo/issues/2068
Describe the solution you'd like The goal is to have control over the color used for each country value.
Describe alternatives you've considered
I've tried using the following props:
Defining a pattern/color and then applying a match condition. The problem here is that it seems to only work with
id
and I want to be able to do it with values.Passing a callback to apply color based on the current country label (name).