Revise like bins and colour scale
This commit is contained in:
parent
c2ea90a372
commit
bf1a8def6e
@ -226,24 +226,28 @@
|
|||||||
<PolygonSymbolizer fill="#bd0026" />
|
<PolygonSymbolizer fill="#bd0026" />
|
||||||
</Rule>
|
</Rule>
|
||||||
<Rule>
|
<Rule>
|
||||||
<Filter>[likes] >= 70 and [likes] < 100</Filter>
|
<Filter>[likes] >= 50 and [likes] < 100</Filter>
|
||||||
<PolygonSymbolizer fill="#e31a1c" />
|
<PolygonSymbolizer fill="#e31a1c" />
|
||||||
</Rule>
|
</Rule>
|
||||||
<Rule>
|
<Rule>
|
||||||
<Filter>[likes] >= 40 and [likes] < 70</Filter>
|
<Filter>[likes] >= 20 and [likes] < 50</Filter>
|
||||||
<PolygonSymbolizer fill="#fc4e2a" />
|
<PolygonSymbolizer fill="#fc4e2a" />
|
||||||
</Rule>
|
</Rule>
|
||||||
<Rule>
|
<Rule>
|
||||||
<Filter>[likes] >= 15 and [likes] < 40</Filter>
|
<Filter>[likes] >= 10 and [likes] < 20</Filter>
|
||||||
<PolygonSymbolizer fill="#fd8d3c" />
|
<PolygonSymbolizer fill="#fd8d3c" />
|
||||||
</Rule>
|
</Rule>
|
||||||
<Rule>
|
<Rule>
|
||||||
<Filter>[likes] >= 5 and [likes] < 15</Filter>
|
<Filter>[likes] >= 3 and [likes] < 10</Filter>
|
||||||
<PolygonSymbolizer fill="#feb24c" />
|
<PolygonSymbolizer fill="#feb24c" />
|
||||||
</Rule>
|
</Rule>
|
||||||
<Rule>
|
<Rule>
|
||||||
<Filter>[likes] < 5</Filter>
|
<Filter>[likes] = 2</Filter>
|
||||||
<PolygonSymbolizer fill="#fed976" />
|
<PolygonSymbolizer fill="#fed976" />
|
||||||
</Rule>
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Filter>[likes] = 1</Filter>
|
||||||
|
<PolygonSymbolizer fill="#ffe8a9" />
|
||||||
|
</Rule>
|
||||||
</Style>
|
</Style>
|
||||||
</Map>
|
</Map>
|
||||||
|
@ -102,12 +102,13 @@ const LEGEND_CONFIG = {
|
|||||||
like: {
|
like: {
|
||||||
title: 'Like Me',
|
title: 'Like Me',
|
||||||
elements: [
|
elements: [
|
||||||
{ color: '#bd0026', text: '👍👍👍 ≥100' },
|
{ color: '#bd0026', text: '👍👍👍👍 100+' },
|
||||||
{ color: '#e31a1c', text: '👍👍 70–99' },
|
{ color: '#e31a1c', text: '👍👍👍 50–99' },
|
||||||
{ color: '#fc4e2a', text: '👍 40-69' },
|
{ color: '#fc4e2a', text: '👍👍 20–49' },
|
||||||
{ color: '#fd8d3c', text: '👍 15-39' },
|
{ color: '#fd8d3c', text: '👍👍 10–19' },
|
||||||
{ color: '#feb24c', text: '👍 5-14' },
|
{ color: '#feb24c', text: '👍 3–9' },
|
||||||
{ color: '#fed976', text: '👍 1-4' },
|
{ color: '#fed976', text: '👍 2' },
|
||||||
|
{ color: '#ffe8a9', text: '👍 1'}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user