1

There is a field about alcohol consumption by country with 10 max. and 10 min. values (picture 1). Need to choose only 10 max. values and create a gradient map. Seems its needs to be some expression, but I don't know what exactly. Trying simple "alco_cons" >= '10' but its not I'm looking for (picture 2). I need to grade only 10 max values. Example of what it needs to look like in picture 3.

picture 1

picture 2

enter image description here

1 Answer 1

2

An easy way is to duplicate the layer, set a filter on the layer to only show top 10 regions. Symbolize this with a Graduated symbology, place it on top of the unfiltered layer

enter image description here

8
  • Well, when I try to graduate it with an expression "alco_cons" > '10' it returns only '0', '1' and 'other' instead of 10 unique values
    – GeoEth
    Aug 19, 2022 at 16:43
  • Do you have a string field?
    – BERA
    Aug 19, 2022 at 16:56
  • Yes, but I tried with real field
    – GeoEth
    Aug 19, 2022 at 17:11
  • You should use any expression to graduate. The expression is used to filter the layer (right-click Filter)
    – BERA
    Aug 19, 2022 at 17:14
  • Yes, but it filtered to only 3 conditions: '0', '1' and 'other', while I need 10 unique
    – GeoEth
    Aug 19, 2022 at 17:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.