From 1af1f951a89e0d96a591c7366fa6cbb67204e6bb Mon Sep 17 00:00:00 2001 From: Taz-Chiles <97239140+Taz-Chiles@users.noreply.github.com> Date: Thu, 30 Nov 2023 11:29:37 +0000 Subject: [PATCH 1/6] Amend rounding on map scale --- src/maps/employment/index.njk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/maps/employment/index.njk b/src/maps/employment/index.njk index ff141a22..6ed3075d 100644 --- a/src/maps/employment/index.njk +++ b/src/maps/employment/index.njk @@ -125,7 +125,7 @@ featured: "#census-youth-unemployed-economically-inactive figure" value: 'Claimants percentage', scale: 'YFF', tooltip: '{{ n }}: {{ Claimants percentage | toFixed(1) }}%' - } | autoLegend({ formatter: percentFormatter, roundTo: 5 }) + } | autoLegend({ formatter: percentFormatter, roundTo: 3 }) }) | safe }} {% endcomp %} @@ -143,7 +143,7 @@ featured: "#census-youth-unemployed-economically-inactive figure" value: 'Claimants percentage', scale: 'YFF', tooltip: '{{ n }}: {{ Claimants percentage | toFixed(1) }}%' - } | autoLegend({ formatter: percentFormatter, roundTo: 5 }) + } | autoLegend({ formatter: percentFormatter, roundTo: 3 }) }) | safe }} {% endcomp %} From 3fbb278e3cad68636dd412017471f035ee8ab539 Mon Sep 17 00:00:00 2001 From: Taz-Chiles <97239140+Taz-Chiles@users.noreply.github.com> Date: Thu, 30 Nov 2023 11:43:02 +0000 Subject: [PATCH 2/6] Amend rounding on map scale --- src/maps/employment/index.njk | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/maps/employment/index.njk b/src/maps/employment/index.njk index 6ed3075d..a4ff6521 100644 --- a/src/maps/employment/index.njk +++ b/src/maps/employment/index.njk @@ -53,7 +53,7 @@ featured: "#census-youth-unemployed-economically-inactive figure" value: 'value', scale: 'YFF', tooltip: '{{ n }}: {{ value }}% ({{ date_name }})' - } | autoLegend({ formatter: percentFormatter, roundTo: 5 }) + } | autoLegend({ formatter: percentFormatter, roundTo: 3 }) }) | safe }} {% endcomp %} @@ -71,7 +71,7 @@ featured: "#census-youth-unemployed-economically-inactive figure" value: 'value', scale: 'YFF', tooltip: '{{ n }}: {{ value }}% ({{ date_name }})' - } | autoLegend({ formatter: percentFormatter, roundTo: 5 }) + } | autoLegend({ formatter: percentFormatter, roundTo: 3 }) }) | safe }} {% endcomp %} @@ -89,7 +89,7 @@ featured: "#census-youth-unemployed-economically-inactive figure" value: 'value', scale: 'YFF', tooltip: '{{ n }}: {{ value }}% ({{ date_name }})' - } | autoLegend({ formatter: percentFormatter, roundTo: 5 }) + } | autoLegend({ formatter: percentFormatter, roundTo: 3 }) }) | safe }} {% endcomp %} @@ -107,7 +107,7 @@ featured: "#census-youth-unemployed-economically-inactive figure" value: 'value', scale: 'YFF', tooltip: '{{ n }}: {{ value }}% ({{ date_name }})' - } | autoLegend({ formatter: percentFormatter, roundTo: 5 }) + } | autoLegend({ formatter: percentFormatter, roundTo: 3 }) }) | safe }} {% endcomp %} @@ -161,7 +161,7 @@ featured: "#census-youth-unemployed-economically-inactive figure" value: 'rate', scale: 'YFF', tooltip: '{{ n }}: {{ rate | toFixed(1) }}%' - } | autoLegend({ formatter: percentFormatter, roundTo: 5 }) + } | autoLegend({ formatter: percentFormatter, roundTo: 3 }) }) | safe }} {% endcomp %} @@ -179,7 +179,7 @@ featured: "#census-youth-unemployed-economically-inactive figure" value: 'rate', scale: 'YFF', tooltip: '{{ n }}: {{ rate | toFixed(1) }}%' - } | autoLegend({ formatter: percentFormatter, roundTo: 5 }) + } | autoLegend({ formatter: percentFormatter, roundTo: 3 }) }) | safe }} {% endcomp %} @@ -197,7 +197,7 @@ featured: "#census-youth-unemployed-economically-inactive figure" value: 'rate', scale: 'YFF', tooltip: '{{ n }}: {{ rate | toFixed(1) }}%' - } | autoLegend({ formatter: percentFormatter, roundTo: 5 }) + } | autoLegend({ formatter: percentFormatter, roundTo: 3 }) }) | safe }} {% endcomp %} From 9b341f2b3fd6be09474765a428d116f5ddd6b220 Mon Sep 17 00:00:00 2001 From: Taz-Chiles <97239140+Taz-Chiles@users.noreply.github.com> Date: Thu, 30 Nov 2023 12:07:23 +0000 Subject: [PATCH 3/6] Tweak selector styling --- src/_includes/css/form.css | 3 +++ src/maps/employment/index.njk | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/_includes/css/form.css b/src/_includes/css/form.css index 2abf6c52..c753af09 100644 --- a/src/_includes/css/form.css +++ b/src/_includes/css/form.css @@ -13,5 +13,8 @@ label + select { gap: 1em; align-items: baseline; justify-content: center; + background: #dff3f4; + padding: 1em; + font-weight: 700; } } \ No newline at end of file diff --git a/src/maps/employment/index.njk b/src/maps/employment/index.njk index a4ff6521..fa085821 100644 --- a/src/maps/employment/index.njk +++ b/src/maps/employment/index.njk @@ -25,6 +25,10 @@ css: | margin-left:auto; } + .selector article { + margin-top: 2rem; + } + featured: "#census-youth-unemployed-economically-inactive figure" --- {#- Formatter for autoLegend -#} @@ -38,7 +42,8 @@ featured: "#census-youth-unemployed-economically-inactive figure" data-dependencies='/assets/js/selector.js' data-label='Choose the visualisation layer' data-heading-level='h2' - data-id='map-selector'> + data-id='map-selector' + data-selector-position='top'>

Youth unemployment rate (aged 16-24)

From 5249b91cf77dfce11e2437cdec515dd3c867dabf Mon Sep 17 00:00:00 2001 From: Taz-Chiles <97239140+Taz-Chiles@users.noreply.github.com> Date: Tue, 5 Dec 2023 10:42:54 +0000 Subject: [PATCH 4/6] Add NEET Factors decription --- src/maps/neet-factors/index.njk | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/src/maps/neet-factors/index.njk b/src/maps/neet-factors/index.njk index d6d8275c..a6acee95 100644 --- a/src/maps/neet-factors/index.njk +++ b/src/maps/neet-factors/index.njk @@ -1,5 +1,5 @@ --- -title: NEET Factors +title: Risk of NEET Factors summary: | Data on factors that contribute to likelihood of NEET layout: layouts/simple.njk @@ -66,6 +66,26 @@ barchart_description: | {% include "partials/page/topic-cloud.njk" %} {% endcomp %} +

+ This data comes from our recent report exploring the extent and degree of overlap between different forms of marginalisation among young people (aged 13 to 25), and how experiencing multiple types of marginalisation may increase the risk of young people not being in employment, education or training (NEET). Each of the data sources in the visualisations above represents a risk factor for a young person becoming NEET. Five domains of marginalisation were explored - education, family circumstances, health, living standards and risky behaviour - making up 19 NEET factors. +

+

+ A standard score is calculated for each data source per local authority. The standard score is 0 for values that are equal to the mean, 1 for values that are one standard deviation above the mean, and 2 for values that are two standard deviations above the mean. Values below the mean have negative standard scores. +

+

+Each risk factor was associated with a higher likelihood of a young person becoming NEET. This likelihood increased with a higher number of overlapping risk factors. Six factors were found to be most strongly associated with NEET status: +

+ +

+Double weightings are given to those data sources, and a weighted average is calculated per local authority. Total Scores are calculated as the sum of all individual scores. +

+
{{ value | toFixed(2) }}', legend: { position: 'top left' From 0359a292b4e9c7ddb8b9d9faaf02daf62c8c7d4e Mon Sep 17 00:00:00 2001 From: Taz-Chiles <97239140+Taz-Chiles@users.noreply.github.com> Date: Tue, 5 Dec 2023 11:11:41 +0000 Subject: [PATCH 5/6] Update NEET factors description --- src/maps/neet-factors/index.njk | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/src/maps/neet-factors/index.njk b/src/maps/neet-factors/index.njk index a6acee95..03b42750 100644 --- a/src/maps/neet-factors/index.njk +++ b/src/maps/neet-factors/index.njk @@ -67,24 +67,11 @@ barchart_description: | {% endcomp %}

- This data comes from our recent report exploring the extent and degree of overlap between different forms of marginalisation among young people (aged 13 to 25), and how experiencing multiple types of marginalisation may increase the risk of young people not being in employment, education or training (NEET). Each of the data sources in the visualisations above represents a risk factor for a young person becoming NEET. Five domains of marginalisation were explored - education, family circumstances, health, living standards and risky behaviour - making up 19 NEET factors. + This data comes from our recent report exploring the extent and degree of overlap between different forms of marginalisation among young people (aged 13 to 25), and how experiencing multiple types of marginalisation may increase the risk of young people not being in employment, education or training (NEET). Each of the data sources in the visualisation below represents a risk factor for a young person becoming NEET.

A standard score is calculated for each data source per local authority. The standard score is 0 for values that are equal to the mean, 1 for values that are one standard deviation above the mean, and 2 for values that are two standard deviations above the mean. Values below the mean have negative standard scores.

-

-Each risk factor was associated with a higher likelihood of a young person becoming NEET. This likelihood increased with a higher number of overlapping risk factors. Six factors were found to be most strongly associated with NEET status: -

- -

-Double weightings are given to those data sources, and a weighted average is calculated per local authority. Total Scores are calculated as the sum of all individual scores. -

About this data

- The data visualised on this page is from analysis commissioned by Youth Futures Foundation, with The National Centre for Social Research (NatCen). Their report explores the extent and degree of overlap between different forms of marginalisation among young people (aged 13 to 25), and how experiencing multiple types of marginalisation may increase the risk of young people not being in employment, education or training (NEET). + The data visualised on this page is from analysis by Youth Futures Foundation, with The National Centre for Social Research (NatCen). Our report explores the extent and degree of overlap between different forms of marginalisation among young people (aged 13 to 25), and how experiencing multiple types of marginalisation may increase the risk of young people not being in employment, education or training (NEET).

Each of the data sources in the visualisations above represents a risk factor for a young person becoming NEET. Five domains of marginalisation were explored - education, family circumstances, health, living standards and risky behaviour - making up 19 NEET factors. From 46fd0c0614327bfea97273bd63e73d7ff38e5ce9 Mon Sep 17 00:00:00 2001 From: Taz-Chiles <97239140+Taz-Chiles@users.noreply.github.com> Date: Tue, 5 Dec 2023 11:15:36 +0000 Subject: [PATCH 6/6] Reduce font weighting --- src/_includes/css/form.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_includes/css/form.css b/src/_includes/css/form.css index c753af09..94ee0f63 100644 --- a/src/_includes/css/form.css +++ b/src/_includes/css/form.css @@ -15,6 +15,6 @@ label + select { justify-content: center; background: #dff3f4; padding: 1em; - font-weight: 700; + font-weight: 600; } } \ No newline at end of file