Skip to content

Commit

Permalink
Fix the aggregationg statement
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafasaifee42 committed Feb 15, 2024
1 parent c71db95 commit 27a9566
Show file tree
Hide file tree
Showing 6 changed files with 122 additions and 99 deletions.
16 changes: 16 additions & 0 deletions src/GrapherComponent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,22 @@ export function GrapherComponent(props: Props) {
regionData={regionData}
loading={loading}
/>
<p
className='undp-typography small-font italics'
style={{ color: 'var(--gray-600)' }}
>
Please Note: The aggregation methodology used to compute the aggregate
values on the DFx can be found{' '}
<a
href='https://data.undp.org/sites/g/files/zskgke476/files/2024-02/DFX%20Indicator%20Aggregation%20Methodology.pdf'
target='_blank'
rel='noreferrer'
className='undp-style small-font italics'
style={{ color: 'var(--gray-600) !important' }}
>
here
</a>
</p>
</div>
);
}
9 changes: 6 additions & 3 deletions src/KeyInsights/EnergyKeyInsights.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ export function EnergyKeyInsights() {
>
World Bank
</a>
. Aggregation methodology for world can be found{' '}
. The aggregation methodology used to compute the aggregate
values can be found{' '}
<a
href='https://data.undp.org/sites/g/files/zskgke476/files/2024-02/DFX%20Indicator%20Aggregation%20Methodology.pdf'
target='_blank'
Expand Down Expand Up @@ -141,7 +142,8 @@ export function EnergyKeyInsights() {
>
World Bank
</a>
. Aggregation methodology for world can be found{' '}
. The aggregation methodology used to compute the aggregate
values can be found{' '}
<a
href='https://data.undp.org/sites/g/files/zskgke476/files/2024-02/DFX%20Indicator%20Aggregation%20Methodology.pdf'
target='_blank'
Expand Down Expand Up @@ -236,7 +238,8 @@ export function EnergyKeyInsights() {
>
World Bank
</a>
. Aggregation methodology for world can be found{' '}
. The aggregation methodology used to compute the aggregate
values can be found{' '}
<a
href='https://data.undp.org/sites/g/files/zskgke476/files/2024-02/DFX%20Indicator%20Aggregation%20Methodology.pdf'
target='_blank'
Expand Down
57 changes: 29 additions & 28 deletions src/KeyInsights/EnvironmentKeyInsights.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,35 +43,36 @@ export function EnvironmentKeyInsights() {
adapting to climate change are substantial, they remain
relatively modest when compared to the enormity of the
challenge.
</p>
<br />
<br />
<span
className='undp-typography small-font margin-bottom-00'
style={{ color: 'var(--gray-600)' }}
>
Data source:{' '}
<a
href='https://www.climatewatchdata.org/ghg-emissions'
target='_blank'
rel='noreferrer'
className='undp-style small-font'
style={{ color: 'var(--gray-600) !important' }}
>
World Resources Institute (WRI)
</a>
. Aggregation methodology for world can be found{' '}
<a
href='https://data.undp.org/sites/g/files/zskgke476/files/2024-02/DFX%20Indicator%20Aggregation%20Methodology.pdf'
target='_blank'
rel='noreferrer'
className='undp-style small-font'
style={{ color: 'var(--gray-600) !important' }}
<br />
<br />
<span
className='undp-typography small-font margin-bottom-00'
style={{ color: 'var(--gray-600)' }}
>
here
</a>
.
</span>
Data source:{' '}
<a
href='https://www.climatewatchdata.org/ghg-emissions'
target='_blank'
rel='noreferrer'
className='undp-style small-font'
style={{ color: 'var(--gray-600) !important' }}
>
World Resources Institute (WRI)
</a>
. The aggregation methodology used to compute the aggregate
values can be found{' '}
<a
href='https://data.undp.org/sites/g/files/zskgke476/files/2024-02/DFX%20Indicator%20Aggregation%20Methodology.pdf'
target='_blank'
rel='noreferrer'
className='undp-style small-font'
style={{ color: 'var(--gray-600) !important' }}
>
here
</a>
.
</span>
</p>
</div>
<div className='flex-div flex-vert-align-center margin-top-07'>
<img
Expand Down
36 changes: 18 additions & 18 deletions src/KeyInsights/GovernanceKeyInsights.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,25 +102,25 @@ export function GovernanceKeyInsights() {
trends suggest that more countries are experiencing a decline in
respect for the rule of law, and this persistent trend is now
evident even in established democracies.
</p>
<br />
<br />
<span
className='undp-typography small-font margin-bottom-00'
style={{ color: 'var(--gray-600)' }}
>
Data source:{' '}
<a
href='http://info.worldbank.org/governance/wgi/'
target='_blank'
rel='noreferrer'
className='undp-style small-font'
style={{ color: 'var(--gray-600) !important' }}
<br />
<br />
<span
className='undp-typography small-font margin-bottom-00'
style={{ color: 'var(--gray-600)' }}
>
World Bank
</a>
.
</span>
Data source:{' '}
<a
href='http://info.worldbank.org/governance/wgi/'
target='_blank'
rel='noreferrer'
className='undp-style small-font'
style={{ color: 'var(--gray-600) !important' }}
>
World Bank
</a>
.
</span>
</p>
</div>
<div className='flex-div flex-vert-align-center margin-top-07'>
<img
Expand Down
10 changes: 6 additions & 4 deletions src/KeyInsights/PovertyAndInequalityKeyInsights.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ export function PovertyAndInequalityKeyInsights() {
>
International Labour Organization (ILO)
</a>
. Aggregation methodology for world can be found{' '}
. The aggregation methodology used to compute the aggregate
values can be found{' '}
<a
href='https://data.undp.org/sites/g/files/zskgke476/files/2024-02/DFX%20Indicator%20Aggregation%20Methodology.pdf'
target='_blank'
Expand Down Expand Up @@ -170,7 +171,8 @@ export function PovertyAndInequalityKeyInsights() {
>
International Labour Organization (ILO)
</a>
. Aggregation methodology for world can be found{' '}
. The aggregation methodology used to compute the aggregate
values can be found{' '}
<a
href='https://data.undp.org/sites/g/files/zskgke476/files/2024-02/DFX%20Indicator%20Aggregation%20Methodology.pdf'
target='_blank'
Expand Down Expand Up @@ -274,8 +276,8 @@ export function PovertyAndInequalityKeyInsights() {
>
International Labour Organization (ILO)
</a>
. Aggregation methodology for world and UNDP regions can be
found{' '}
. The aggregation methodology used to compute the aggregate
values can be found{' '}
<a
href='https://data.undp.org/sites/g/files/zskgke476/files/2024-02/DFX%20Indicator%20Aggregation%20Methodology.pdf'
target='_blank'
Expand Down
93 changes: 47 additions & 46 deletions src/KeyInsights/ResilienceKeyInsights.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,35 +33,36 @@ export function ResilienceKeyInsights() {
urban areas in recent decades which is expected to continue to
increase with rising incomes and shifts away from employment in
agriculture, especially in developing countries.
</p>
<br />
<br />
<span
className='undp-typography small-font margin-bottom-00'
style={{ color: 'var(--gray-600)' }}
>
Data source:{' '}
<a
href='https://data.worldbank.org/'
target='_blank'
rel='noreferrer'
className='undp-style small-font'
style={{ color: 'var(--gray-600) !important' }}
>
World Bank
</a>
. Aggregation methodology for world can be found{' '}
<a
href='https://data.undp.org/sites/g/files/zskgke476/files/2024-02/DFX%20Indicator%20Aggregation%20Methodology.pdf'
target='_blank'
rel='noreferrer'
className='undp-style small-font'
style={{ color: 'var(--gray-600) !important' }}
<br />
<br />
<span
className='undp-typography small-font margin-bottom-00'
style={{ color: 'var(--gray-600)' }}
>
here
</a>
.
</span>
Data source:{' '}
<a
href='https://data.worldbank.org/'
target='_blank'
rel='noreferrer'
className='undp-style small-font'
style={{ color: 'var(--gray-600) !important' }}
>
World Bank
</a>
. The aggregation methodology used to compute the aggregate
values can be found{' '}
<a
href='https://data.undp.org/sites/g/files/zskgke476/files/2024-02/DFX%20Indicator%20Aggregation%20Methodology.pdf'
target='_blank'
rel='noreferrer'
className='undp-style small-font'
style={{ color: 'var(--gray-600) !important' }}
>
here
</a>
.
</span>
</p>
</div>
<div className='flex-div flex-vert-align-center margin-top-07'>
<img
Expand Down Expand Up @@ -105,25 +106,25 @@ export function ResilienceKeyInsights() {
clean water, poor housing conditions among others, thus placing
them at risk of infectious diseases, higher rates of
malnutrition, childhood stunting, and premature mortality.
</p>
<br />
<br />
<span
className='undp-typography small-font margin-bottom-00'
style={{ color: 'var(--gray-600)' }}
>
Data source:{' '}
<a
href='https://data.worldbank.org/'
target='_blank'
rel='noreferrer'
className='undp-style small-font'
style={{ color: 'var(--gray-600) !important' }}
<br />
<br />
<span
className='undp-typography small-font margin-bottom-00'
style={{ color: 'var(--gray-600)' }}
>
World Bank
</a>
.
</span>
Data source:{' '}
<a
href='https://data.worldbank.org/'
target='_blank'
rel='noreferrer'
className='undp-style small-font'
style={{ color: 'var(--gray-600) !important' }}
>
World Bank
</a>
.
</span>
</p>
</div>
<div className='flex-div flex-vert-align-center margin-top-07'>
<img
Expand Down

0 comments on commit 27a9566

Please sign in to comment.