Dashboards & Visualizations

Choropleth White Band Colour Change

WalshyB
Path Finder

Hey Guys,

I've searched and haven't been able to find the answer to this?

The first band in my choropleth map is the range 0-10000, this shows as white but I would like to change it to a different colour as I feel that white potentially gives the impression that there are no results for that country. Is this possible?

1 Solution

WalshyB
Path Finder

Fixed this by using some css to find points in the map which were white. May not be the best way but it is working as intended for me.

path[fill="#ffffff"] {
fill: #ff1a1a;
}

rect.legend-color.legend-elem[fill="rgb(255,255,255)"] {
fill: #ff1a1a;
}

View solution in original post

WalshyB
Path Finder

Fixed this by using some css to find points in the map which were white. May not be the best way but it is working as intended for me.

path[fill="#ffffff"] {
fill: #ff1a1a;
}

rect.legend-color.legend-elem[fill="rgb(255,255,255)"] {
fill: #ff1a1a;
}

DalJeanis
Legend

@WalshyB - Thanks for posting your solution for others. Please accept your answer to mark the question as solved.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...