Changing "NaN" in choropleth's hover text

In the image below, is there a way to replace “NaN” in the hover text to say “N/A” or anything else? I’ve tried replacing the empty cells in my CSV with the text “N/A” but it still defaults to “NaN.”

For reference, my code follows the format of this example:

Try using:

1 Like

This is perfect. Thank you!

Is there a reason the hovertext/hoverinfo tags are no longer shown for NaN values? The color also appears to have changed to white with a black outline, regardless of what the outline color is set to for the other states.