Improve data pipeline

This commit is contained in:
Andras Schmelczer 2026-06-01 20:10:03 +01:00
parent e8345cbdc1
commit f99bd4e5c9
36 changed files with 966 additions and 129 deletions

View file

@ -267,7 +267,7 @@ export const STACKED_GROUPS: Record<
{
label: 'Ethnic composition',
unit: '%',
components: ['% White', '% South Asian', '% East Asian', '% Black', '% Mixed', '% Other'],
components: ['% White', '% South Asian', '% East/SE Asian', '% Black', '% Mixed', '% Other'],
},
{
label: 'Political vote share',
@ -384,13 +384,6 @@ export const ENUM_COLOR_OVERRIDES: Record<string, Record<string, [number, number
F: [239, 68, 68],
G: [126, 34, 206],
},
'Max available download speed (Mbps)': {
'10': [107, 114, 128],
'30': [245, 158, 11],
'100': [59, 130, 246],
'300': [20, 184, 166],
'1000': [34, 197, 94],
},
};
/**
@ -451,7 +444,7 @@ export const STACKED_SEGMENT_COLORS: Record<string, string> = {
'Other crime (avg/yr)': '#6b7280',
'% White': '#3b82f6',
'% South Asian': '#f97316',
'% East Asian': '#eab308',
'% East/SE Asian': '#eab308',
'% Black': '#8b5cf6',
'% Mixed': '#14b8a6',
'% Other': '#6b7280',