Skip to content

Commit

Permalink
Merge pull request #16 from UNDP-Data/update-ethiopia
Browse files Browse the repository at this point in the history
Add 'about' and data cards to ETH
  • Loading branch information
mustafasaifee42 authored Oct 16, 2024
2 parents 964177f + aa88b9d commit f343f8f
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/AboutText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1185,4 +1185,14 @@ export const ABOUT_TEXT_LINKS = [
},
],
},
{
title: 'Ethiopia',
id: 'ETH',
resource: [
{
source: 'About Us Page',
link: 'https://www.undp.org/ethiopia/about-us',
},
],
},
];
73 changes: 73 additions & 0 deletions src/TopCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1622,4 +1622,77 @@ export const TOP_CARDS = [
},
],
},
{
id: 'ETH',
cards: [
{
vizType: 'lineChart',
settings: {
dataKey: 'Gross National Income Per Capita (2017 PPP$)',
strokeWidth: 1,
lineColor: '#232E3D',
graphTitle: 'Gross National Income Per Capita (2017 PPP$)',
},
},
{
vizType: 'lineChart',
settings: {
dataKey: 'Human development index (HDI)',
strokeWidth: 1,
lineColor: '#232E3D',
graphTitle: 'Human Development Index',
},
},
{
vizType: 'lineChart',
settings: {
dataKey: 'GINI index (World Bank estimate)',
strokeWidth: 1,
lineColor: '#232E3D',
graphTitle: 'GINI Index',
},
},
{
vizType: 'lineChart',
settings: {
dataKey: 'Gender Inequality Index-Gender Inequality Index',
strokeWidth: 1,
lineColor: '#232E3D',
graphTitle: 'Gender Inequality Index',
},
},
{
vizType: 'lineChart',
settings: {
dataKey: 'Population, total',
strokeWidth: 1,
lineColor: '#232E3D',
graphTitle: 'Population, total',
},
},
{
vizType: 'lineChart',
settings: {
dataKey:
'Unemployment, youth total (% of total labor force ages 15-24) (modeled ILO estimate)',
strokeWidth: 1,
lineColor: '#232E3D',
graphTitle: 'Youth Unemployment (% of total labor force ages 15-24)',
suffix: '%',
},
},
{
vizType: 'lineChart',
settings: {
dataKey:
'Poverty headcount ratio at $2.15 a day (2017 PPP) (% of population)',
strokeWidth: 1,
lineColor: '#232E3D',
graphTitle:
'Poverty headcount ratio at $2.15 a day (2017 PPP), % of population',
suffix: '%',
},
},
],
},
];

0 comments on commit f343f8f

Please sign in to comment.