diff --git a/packages/app/schema/gm/__index.json b/packages/app/schema/gm/__index.json index 015b7d3f4a..f90da3e170 100644 --- a/packages/app/schema/gm/__index.json +++ b/packages/app/schema/gm/__index.json @@ -17,7 +17,7 @@ "vaccine_coverage_per_age_group", "vaccine_coverage_per_age_group_archived", "vaccine_coverage_per_age_group_archived_20220908", - "booster_coverage" + "booster_coverage_archived_20220904" ], "properties": { "last_generated": { @@ -62,8 +62,8 @@ "vaccine_coverage_per_age_group_archived_20220908": { "$ref": "vaccine_coverage_per_age_group_archived_20220908.json" }, - "booster_coverage": { - "$ref": "booster_coverage.json" + "booster_coverage_archived_20220904": { + "$ref": "booster_coverage_archived_20220904.json" } }, "$defs": { diff --git a/packages/app/schema/gm/booster_coverage.json b/packages/app/schema/gm/booster_coverage_archived_20220904.json similarity index 89% rename from packages/app/schema/gm/booster_coverage.json rename to packages/app/schema/gm/booster_coverage_archived_20220904.json index eaee06edc9..43cf6de9a7 100644 --- a/packages/app/schema/gm/booster_coverage.json +++ b/packages/app/schema/gm/booster_coverage_archived_20220904.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "title": "gm_booster_coverage", + "title": "gm_booster_coverage_archived_20220904", "type": "object", "properties": { "values": { @@ -16,7 +16,7 @@ "additionalProperties": false, "definitions": { "value": { - "title": "gm_booster_coverage_value", + "title": "gm_booster_coverage_archived_20220904_value", "type": "object", "properties": { "age_group": { diff --git a/packages/app/schema/gm/sewer.json b/packages/app/schema/gm/sewer.json index 00e925cffe..02c4ae016b 100644 --- a/packages/app/schema/gm/sewer.json +++ b/packages/app/schema/gm/sewer.json @@ -11,7 +11,8 @@ "total_number_of_samples", "sampled_installation_count", "total_installation_count", - "date_of_insertion_unix" + "date_of_insertion_unix", + "data_is_outdated" ], "properties": { "date_start_unix": { @@ -34,6 +35,9 @@ }, "date_of_insertion_unix": { "type": "integer" + }, + "data_is_outdated": { + "type": "boolean" } } } diff --git a/packages/app/schema/gm/vaccine_coverage_per_age_group.json b/packages/app/schema/gm/vaccine_coverage_per_age_group.json index c77865c4db..d98a04f721 100644 --- a/packages/app/schema/gm/vaccine_coverage_per_age_group.json +++ b/packages/app/schema/gm/vaccine_coverage_per_age_group.json @@ -18,44 +18,53 @@ "additionalProperties": false, "type": "object", "required": [ - "age_group_range", - "autumn_2022_vaccinated_percentage", - "fully_vaccinated_percentage", - "booster_shot_percentage", - "autumn_2022_vaccinated_percentage_label", - "fully_vaccinated_percentage_label", - "booster_shot_percentage_label", - "birthyear_range", + "vaccination_type", + "birthyear_range_12_plus", + "birthyear_range_18_plus", + "birthyear_range_60_plus", + "vaccinated_percentage_12_plus", + "vaccinated_percentage_12_plus_label", + "vaccinated_percentage_18_plus", + "vaccinated_percentage_18_plus_label", + "vaccinated_percentage_60_plus", + "vaccinated_percentage_60_plus_label", "date_of_insertion_unix", "date_unix" ], "properties": { - "age_group_range": { - "type": "string", - "enum": ["12+", "18+", "60+"] - }, - "autumn_2022_vaccinated_percentage": { - "type": ["integer", "null"] - }, - "fully_vaccinated_percentage": { - "type": ["integer", "null"] + "vaccination_type": { + "type": "string" }, - "booster_shot_percentage": { - "type": ["integer", "null"] + "birthyear_range_12_plus": { + "type": "string", + "pattern": "^[0-9]{4}-[0-9]{4}$|^-[0-9]{4}$|^[0-9]{4}-$" }, - "birthyear_range": { + "birthyear_range_18_plus": { "type": "string", "pattern": "^[0-9]{4}-[0-9]{4}$|^-[0-9]{4}$|^[0-9]{4}-$" }, - "autumn_2022_vaccinated_percentage_label": { + "birthyear_range_60_plus": { + "type": ["string", "null"], + "pattern": "^[0-9]{4}-[0-9]{4}$|^-[0-9]{4}$|^[0-9]{4}-$" + }, + "vaccinated_percentage_12_plus": { + "type": ["number", "null"] + }, + "vaccinated_percentage_12_plus_label": { "type": ["string", "null"], "pattern": "^([><][=][0-9]{1,2})$" }, - "fully_vaccinated_percentage_label": { + "vaccinated_percentage_18_plus": { + "type": ["number", "null"] + }, + "vaccinated_percentage_18_plus_label": { "type": ["string", "null"], "pattern": "^([><][=][0-9]{1,2})$" }, - "booster_shot_percentage_label": { + "vaccinated_percentage_60_plus": { + "type": ["number", "null"] + }, + "vaccinated_percentage_60_plus_label": { "type": ["string", "null"], "pattern": "^([><][=][0-9]{1,2})$" }, diff --git a/packages/app/schema/gm_collection/__index.json b/packages/app/schema/gm_collection/__index.json index 227e4878c8..c8a2d23f05 100644 --- a/packages/app/schema/gm_collection/__index.json +++ b/packages/app/schema/gm_collection/__index.json @@ -57,8 +57,8 @@ }, "vaccine_coverage_per_age_group": { "type": "array", - "minItems": 1032, - "maxItems": 1032, + "minItems": 688, + "maxItems": 688, "items": { "$ref": "vaccine_coverage_per_age_group.json" } diff --git a/packages/app/schema/gm_collection/sewer.json b/packages/app/schema/gm_collection/sewer.json index 87326bccf0..7cd18a9855 100644 --- a/packages/app/schema/gm_collection/sewer.json +++ b/packages/app/schema/gm_collection/sewer.json @@ -9,7 +9,8 @@ "gmcode", "average", "total_installation_count", - "date_of_insertion_unix" + "date_of_insertion_unix", + "data_is_outdated" ], "properties": { "date_start_unix": { @@ -30,6 +31,9 @@ }, "date_of_insertion_unix": { "type": "integer" + }, + "data_is_outdated": { + "type": "boolean" } } } diff --git a/packages/app/schema/gm_collection/vaccine_coverage_per_age_group.json b/packages/app/schema/gm_collection/vaccine_coverage_per_age_group.json index 8a98d9edbd..464ecf98b6 100644 --- a/packages/app/schema/gm_collection/vaccine_coverage_per_age_group.json +++ b/packages/app/schema/gm_collection/vaccine_coverage_per_age_group.json @@ -5,14 +5,16 @@ "additionalProperties": false, "required": [ "gmcode", - "age_group_range", - "birthyear_range", - "autumn_2022_vaccinated_percentage", - "autumn_2022_vaccinated_percentage_label", - "fully_vaccinated_percentage", - "fully_vaccinated_percentage_label", - "booster_shot_percentage", - "booster_shot_percentage_label", + "vaccination_type", + "birthyear_range_12_plus", + "birthyear_range_18_plus", + "birthyear_range_60_plus", + "vaccinated_percentage_12_plus", + "vaccinated_percentage_12_plus_label", + "vaccinated_percentage_18_plus", + "vaccinated_percentage_18_plus_label", + "vaccinated_percentage_60_plus", + "vaccinated_percentage_60_plus_label", "date_of_insertion_unix", "date_unix" ], @@ -21,32 +23,39 @@ "type": "string", "pattern": "^GM[0-9]+$" }, - "age_group_range": { - "type": "string", - "enum": ["12+", "18+", "60+"] - }, - "autumn_2022_vaccinated_percentage": { - "type": ["integer", "null"] - }, - "fully_vaccinated_percentage": { - "type": ["integer", "null"] + "vaccination_type": { + "type": "string" }, - "booster_shot_percentage": { - "type": ["integer", "null"] + "birthyear_range_12_plus": { + "type": "string", + "pattern": "^[0-9]{4}-[0-9]{4}$|^-[0-9]{4}$|^[0-9]{4}-$" }, - "birthyear_range": { + "birthyear_range_18_plus": { "type": "string", "pattern": "^[0-9]{4}-[0-9]{4}$|^-[0-9]{4}$|^[0-9]{4}-$" }, - "autumn_2022_vaccinated_percentage_label": { + "birthyear_range_60_plus": { + "type": ["string", "null"], + "pattern": "^[0-9]{4}-[0-9]{4}$|^-[0-9]{4}$|^[0-9]{4}-$" + }, + "vaccinated_percentage_12_plus": { + "type": ["number", "null"] + }, + "vaccinated_percentage_12_plus_label": { "type": ["string", "null"], "pattern": "^([><][=][0-9]{1,2})$" }, - "fully_vaccinated_percentage_label": { + "vaccinated_percentage_18_plus": { + "type": ["number", "null"] + }, + "vaccinated_percentage_18_plus_label": { "type": ["string", "null"], "pattern": "^([><][=][0-9]{1,2})$" }, - "booster_shot_percentage_label": { + "vaccinated_percentage_60_plus": { + "type": ["number", "null"] + }, + "vaccinated_percentage_60_plus_label": { "type": ["string", "null"], "pattern": "^([><][=][0-9]{1,2})$" }, diff --git a/packages/app/schema/nl/__index.json b/packages/app/schema/nl/__index.json index 5ee9f640dc..b955224bdd 100644 --- a/packages/app/schema/nl/__index.json +++ b/packages/app/schema/nl/__index.json @@ -5,9 +5,9 @@ "required": [ "behavior", "behavior_annotations", - "booster_shot_administered", + "booster_shot_administered_archived_20220904", "repeating_shot_administered", - "booster_coverage", + "booster_coverage_archived_20220904", "code", "corona_melder_app_download", "corona_melder_app_warning", @@ -80,14 +80,14 @@ "named_difference": { "$ref": "__named_difference.json" }, - "booster_shot_administered": { - "$ref": "booster_shot_administered.json" + "booster_shot_administered_archived_20220904": { + "$ref": "booster_shot_administered_archived_20220904.json" }, "repeating_shot_administered": { "$ref": "repeating_shot_administered.json" }, - "booster_coverage": { - "$ref": "booster_coverage.json" + "booster_coverage_archived_20220904": { + "$ref": "booster_coverage_archived_20220904.json" }, "doctor": { "$ref": "doctor.json" diff --git a/packages/app/schema/nl/booster_coverage.json b/packages/app/schema/nl/booster_coverage_archived_20220904.json similarity index 88% rename from packages/app/schema/nl/booster_coverage.json rename to packages/app/schema/nl/booster_coverage_archived_20220904.json index f4b5cfff2f..b4e5eed9d7 100644 --- a/packages/app/schema/nl/booster_coverage.json +++ b/packages/app/schema/nl/booster_coverage_archived_20220904.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "title": "nl_booster_coverage", + "title": "nl_booster_coverage_archived_20220904", "type": "object", "properties": { "values": { @@ -16,7 +16,7 @@ "additionalProperties": false, "definitions": { "value": { - "title": "nl_booster_coverage_value", + "title": "nl_booster_coverage_archived_20220904_value", "type": "object", "properties": { "age_group": { diff --git a/packages/app/schema/nl/booster_shot_administered.json b/packages/app/schema/nl/booster_shot_administered_archived_20220904.json similarity index 88% rename from packages/app/schema/nl/booster_shot_administered.json rename to packages/app/schema/nl/booster_shot_administered_archived_20220904.json index 5f6326eeea..995d274b89 100644 --- a/packages/app/schema/nl/booster_shot_administered.json +++ b/packages/app/schema/nl/booster_shot_administered_archived_20220904.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "title": "nl_booster_shot_administered", + "title": "nl_booster_shot_administered_archived_20220904", "type": "object", "properties": { "values": { @@ -19,7 +19,7 @@ "additionalProperties": false, "definitions": { "value": { - "title": "nl_booster_shot_administered_value", + "title": "nl_booster_shot_administered_archived_20220904_value", "type": "object", "properties": { "administered_total": { diff --git a/packages/app/schema/nl/vaccine_coverage_per_age_group.json b/packages/app/schema/nl/vaccine_coverage_per_age_group.json index b0fd6482d5..b9d8acd305 100644 --- a/packages/app/schema/nl/vaccine_coverage_per_age_group.json +++ b/packages/app/schema/nl/vaccine_coverage_per_age_group.json @@ -22,10 +22,8 @@ "age_group_range", "age_group_total", "autumn_2022_vaccinated", - "booster_shot", "autumn_2022_vaccinated_percentage", "fully_vaccinated_percentage", - "booster_shot_percentage", "date_of_insertion_unix", "date_unix", "date_of_report_unix", @@ -59,18 +57,12 @@ "fully_vaccinated": { "type": "integer" }, - "booster_shot": { - "type": ["integer", "null"] - }, "autumn_2022_vaccinated_percentage": { "type": ["integer", "null"] }, "fully_vaccinated_percentage": { "type": "number" }, - "booster_shot_percentage": { - "type": ["number", "null"] - }, "date_unix": { "type": "integer" }, diff --git a/packages/app/schema/vr/__index.json b/packages/app/schema/vr/__index.json index 88a856d288..026e0ed88d 100644 --- a/packages/app/schema/vr/__index.json +++ b/packages/app/schema/vr/__index.json @@ -27,7 +27,7 @@ "vaccine_coverage_per_age_group", "vaccine_coverage_per_age_group_archived", "vaccine_coverage_per_age_group_archived_20220908", - "booster_coverage" + "booster_coverage_archived_20220904" ], "additionalProperties": false, "properties": { @@ -106,8 +106,8 @@ "vaccine_coverage_per_age_group_archived_20220908": { "$ref": "vaccine_coverage_per_age_group_archived_20220908.json" }, - "booster_coverage": { - "$ref": "booster_coverage.json" + "booster_coverage_archived_20220904": { + "$ref": "booster_coverage_archived_20220904.json" } }, "$defs": { diff --git a/packages/app/schema/vr/booster_coverage.json b/packages/app/schema/vr/booster_coverage_archived_20220904.json similarity index 89% rename from packages/app/schema/vr/booster_coverage.json rename to packages/app/schema/vr/booster_coverage_archived_20220904.json index d07b6435de..565ba114c4 100644 --- a/packages/app/schema/vr/booster_coverage.json +++ b/packages/app/schema/vr/booster_coverage_archived_20220904.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "title": "vr_booster_coverage", + "title": "vr_booster_coverage_archived_20220904", "type": "object", "properties": { "values": { @@ -16,7 +16,7 @@ "additionalProperties": false, "definitions": { "value": { - "title": "vr_booster_coverage_value", + "title": "vr_booster_coverage_archived_20220904_value", "type": "object", "properties": { "age_group": { diff --git a/packages/app/schema/vr/sewer.json b/packages/app/schema/vr/sewer.json index 55764ef52a..2b87d3e818 100644 --- a/packages/app/schema/vr/sewer.json +++ b/packages/app/schema/vr/sewer.json @@ -4,7 +4,7 @@ "title": "vr_sewer_value", "type": "object", "additionalProperties": false, - "required": ["date_unix", "average", "date_of_insertion_unix"], + "required": ["date_unix", "average", "date_of_insertion_unix", "data_is_outdated"], "properties": { "date_unix": { "type": "integer" @@ -14,6 +14,9 @@ }, "date_of_insertion_unix": { "type": "integer" + }, + "data_is_outdated": { + "type": "boolean" } } } diff --git a/packages/app/schema/vr/vaccine_coverage_per_age_group.json b/packages/app/schema/vr/vaccine_coverage_per_age_group.json index 05e0de9d45..1733d1c6a3 100644 --- a/packages/app/schema/vr/vaccine_coverage_per_age_group.json +++ b/packages/app/schema/vr/vaccine_coverage_per_age_group.json @@ -18,44 +18,53 @@ "additionalProperties": false, "type": "object", "required": [ - "age_group_range", - "autumn_2022_vaccinated_percentage", - "fully_vaccinated_percentage", - "booster_shot_percentage", - "autumn_2022_vaccinated_percentage_label", - "fully_vaccinated_percentage_label", - "booster_shot_percentage_label", - "birthyear_range", + "vaccination_type", + "birthyear_range_12_plus", + "birthyear_range_18_plus", + "birthyear_range_60_plus", + "vaccinated_percentage_12_plus", + "vaccinated_percentage_12_plus_label", + "vaccinated_percentage_18_plus", + "vaccinated_percentage_18_plus_label", + "vaccinated_percentage_60_plus", + "vaccinated_percentage_60_plus_label", "date_of_insertion_unix", "date_unix" ], "properties": { - "age_group_range": { - "type": "string", - "enum": ["12+", "18+", "60+"] - }, - "autumn_2022_vaccinated_percentage": { - "type": ["integer", "null"] - }, - "fully_vaccinated_percentage": { - "type": ["integer", "null"] + "vaccination_type": { + "type": "string" }, - "booster_shot_percentage": { - "type": ["integer", "null"] + "birthyear_range_12_plus": { + "type": "string", + "pattern": "^[0-9]{4}-[0-9]{4}$|^-[0-9]{4}$|^[0-9]{4}-$" }, - "birthyear_range": { + "birthyear_range_18_plus": { "type": "string", "pattern": "^[0-9]{4}-[0-9]{4}$|^-[0-9]{4}$|^[0-9]{4}-$" }, - "autumn_2022_vaccinated_percentage_label": { + "birthyear_range_60_plus": { + "type": ["string", "null"], + "pattern": "^[0-9]{4}-[0-9]{4}$|^-[0-9]{4}$|^[0-9]{4}-$" + }, + "vaccinated_percentage_12_plus": { + "type": ["number", "null"] + }, + "vaccinated_percentage_12_plus_label": { "type": ["string", "null"], "pattern": "^([><][=][0-9]{1,2})$" }, - "fully_vaccinated_percentage_label": { + "vaccinated_percentage_18_plus": { + "type": ["number", "null"] + }, + "vaccinated_percentage_18_plus_label": { "type": ["string", "null"], "pattern": "^([><][=][0-9]{1,2})$" }, - "booster_shot_percentage_label": { + "vaccinated_percentage_60_plus": { + "type": ["number", "null"] + }, + "vaccinated_percentage_60_plus_label": { "type": ["string", "null"], "pattern": "^([><][=][0-9]{1,2})$" }, diff --git a/packages/app/schema/vr_collection/__index.json b/packages/app/schema/vr_collection/__index.json index f3e8198e6d..10416e6808 100644 --- a/packages/app/schema/vr_collection/__index.json +++ b/packages/app/schema/vr_collection/__index.json @@ -105,8 +105,8 @@ }, "vaccine_coverage_per_age_group": { "type": "array", - "minItems": 75, - "maxItems": 75, + "minItems": 50, + "maxItems": 50, "items": { "$ref": "vaccine_coverage_per_age_group.json" } diff --git a/packages/app/schema/vr_collection/sewer.json b/packages/app/schema/vr_collection/sewer.json index 7ea55377af..649f779eaf 100644 --- a/packages/app/schema/vr_collection/sewer.json +++ b/packages/app/schema/vr_collection/sewer.json @@ -3,7 +3,7 @@ "title": "vr_collection_sewer", "type": "object", "additionalProperties": false, - "required": ["date_unix", "vrcode", "average", "date_of_insertion_unix"], + "required": ["date_unix", "vrcode", "average", "date_of_insertion_unix", "data_is_outdated"], "properties": { "date_unix": { "type": "integer" @@ -17,6 +17,9 @@ }, "date_of_insertion_unix": { "type": "integer" + }, + "data_is_outdated": { + "type": "boolean" } } } diff --git a/packages/app/schema/vr_collection/vaccine_coverage_per_age_group.json b/packages/app/schema/vr_collection/vaccine_coverage_per_age_group.json index a9aaeddaa0..88915c2007 100644 --- a/packages/app/schema/vr_collection/vaccine_coverage_per_age_group.json +++ b/packages/app/schema/vr_collection/vaccine_coverage_per_age_group.json @@ -5,14 +5,16 @@ "additionalProperties": false, "required": [ "vrcode", - "age_group_range", - "birthyear_range", - "autumn_2022_vaccinated_percentage", - "autumn_2022_vaccinated_percentage_label", - "fully_vaccinated_percentage_label", - "fully_vaccinated_percentage", - "booster_shot_percentage", - "booster_shot_percentage_label", + "vaccination_type", + "birthyear_range_12_plus", + "birthyear_range_18_plus", + "birthyear_range_60_plus", + "vaccinated_percentage_12_plus", + "vaccinated_percentage_12_plus_label", + "vaccinated_percentage_18_plus", + "vaccinated_percentage_18_plus_label", + "vaccinated_percentage_60_plus", + "vaccinated_percentage_60_plus_label", "date_of_insertion_unix", "date_unix" ], @@ -21,32 +23,39 @@ "type": "string", "pattern": "^VR[0-9]+$" }, - "age_group_range": { - "type": "string", - "enum": ["12+", "18+", "60+"] - }, - "autumn_2022_vaccinated_percentage": { - "type": ["integer", "null"] - }, - "fully_vaccinated_percentage": { - "type": ["integer", "null"] + "vaccination_type": { + "type": "string" }, - "booster_shot_percentage": { - "type": ["integer", "null"] + "birthyear_range_12_plus": { + "type": "string", + "pattern": "^[0-9]{4}-[0-9]{4}$|^-[0-9]{4}$|^[0-9]{4}-$" }, - "birthyear_range": { + "birthyear_range_18_plus": { "type": "string", "pattern": "^[0-9]{4}-[0-9]{4}$|^-[0-9]{4}$|^[0-9]{4}-$" }, - "autumn_2022_vaccinated_percentage_label": { + "birthyear_range_60_plus": { + "type": ["string", "null"], + "pattern": "^[0-9]{4}-[0-9]{4}$|^-[0-9]{4}$|^[0-9]{4}-$" + }, + "vaccinated_percentage_12_plus": { + "type": ["number", "null"] + }, + "vaccinated_percentage_12_plus_label": { "type": ["string", "null"], "pattern": "^([><][=][0-9]{1,2})$" }, - "fully_vaccinated_percentage_label": { + "vaccinated_percentage_18_plus": { + "type": ["number", "null"] + }, + "vaccinated_percentage_18_plus_label": { "type": ["string", "null"], "pattern": "^([><][=][0-9]{1,2})$" }, - "booster_shot_percentage_label": { + "vaccinated_percentage_60_plus": { + "type": ["number", "null"] + }, + "vaccinated_percentage_60_plus_label": { "type": ["string", "null"], "pattern": "^([><][=][0-9]{1,2})$" }, diff --git a/packages/app/src/components/choropleth-legenda.tsx b/packages/app/src/components/choropleth-legenda.tsx index 75efeb0ce8..faeaa0b1c0 100644 --- a/packages/app/src/components/choropleth-legenda.tsx +++ b/packages/app/src/components/choropleth-legenda.tsx @@ -1,28 +1,26 @@ -import { ChoroplethThresholdsValue } from '@corona-dashboard/common'; +import { ChoroplethThresholdsValue, colors } from '@corona-dashboard/common'; import { css, SystemStyleObject } from '@styled-system/css'; import styled from 'styled-components'; import { ValueAnnotation } from '~/components/value-annotation'; import { useIntl } from '~/intl'; +import { space, fontSizes } from '~/style/theme'; import { replaceVariablesInText } from '~/utils'; import { useBreakpoints } from '~/utils/use-breakpoints'; import { useResizeObserver } from '~/utils/use-resize-observer'; import { Box } from './base'; import { Legend, LegendItem } from './legend'; -import { Text } from './typography'; +import { InlineText, Text } from './typography'; interface ChoroplethLegendaProps { title: string; thresholds: ChoroplethThresholdsValue[]; valueAnnotation?: string; type?: 'default' | 'bar'; + pageType?: string; + outdatedDataLabel?: string; } -export function ChoroplethLegenda({ - title, - thresholds, - valueAnnotation, - type = 'bar', -}: ChoroplethLegendaProps) { +export function ChoroplethLegenda({ title, thresholds, valueAnnotation, type = 'bar', pageType, outdatedDataLabel }: ChoroplethLegendaProps) { const [itemRef, itemSize] = useResizeObserver(); const [endLabelRef, endLabelSize] = useResizeObserver(); const { commonTexts, formatNumber } = useIntl(); @@ -44,13 +42,18 @@ export function ChoroplethLegenda({ ); return ( -