Unit 4: Exploring Features of SDMX-DG

Background

Understand YAML Configuration

The YAML file defines how your dashboard looks and functions. Here is a sample YAML file for a dashboard “Macroeconomic indicators in the euro area”.

Click each highlighted section of the code to learn what it means.

Code

---

DashID: eurostat
+
Rows:
+

-

Row: 0 chartType: TITLE Title: "Macroeconomic indicators in the euro area" Subtitle: "Consumer prices, production turnover and building permits" - Row: 0 chartType: FOOTER Title: "Example Dashboard for illustration purposes" Subtitle: ""
+
Row: 1 chartType: VALUE Title: Subtitle: "auto" Unit: "%" UnitShow: "Yes" UnitIcon: "bi bi-basket3-fill h1" unitLoc: SUFFIX Decimals: 2 LabelsYN: "No" legendConcept: geo legendLoc: xAxisConcept: TIME_PERIOD yAxisConcept: OBS_VALUE downloadYN: "Yes" dsdLink: "https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/TEICP000/1.0" metadataLink: "https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/TEICP000/1.0" DATA: "https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/TEICP000/M.CP00.I15.DE?endPeriod=2023&lastNObservations=1"
+
Background

Add Multiple Charts

You can add more charts to your dashboard, either:

  • On the same row, or
  • On the next row

Click each highlighted section of the code to learn what it means.

Click each tab to learn more.

To add a second chart on the same row:

  • Extend the charts list with a new “Row: 1” entry
  • Charts on the same row are displayed left-to-right (the first chart is the first one on left, the second is next to it on right and so on.)

Code

New chart - on the same row

-

Row: 1 chartType: VALUE Title: Subtitle: "auto" Unit: "persons" UnitShow: "No" UnitIcon: "bi bi-people-fill h1" unitLoc: HIDE Decimals: 0 LabelsYN: "No" legendConcept: geo legendLoc: xAxisConcept: TIME_PERIOD yAxisConcept: OBS_VALUE downloadYN: "Yes" dsdLink: "https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/TEILM010/1.0?detail=full" metadataLink: "https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/TEILM010/1.0?detail=full" DATA: "https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/TEILM010/M.SA.TOTAL.T.THS_PER.FR?endPeriod=2023&lastNObservations=1"

To add a new chart ON A NEW ROW, increase the Row number by 1 (up to maximum 3). So in this case, extend the charts list with a new “Row: 2” entry.

Code

New chart - on a new row

-

Row: 2 chartType: PIE Title: Subtitle: "auto" Unit: "%" unitLoc: SUFFIX Decimals: 0 LabelsYN: "Yes" legendConcept: indic_de legendLoc: BOTTOM xAxisConcept: indic_de yAxisConcept: OBS_VALUE downloadYN: "Yes" dataLink: metadataLink: "https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/TPS00010/1.0?detail=full" DATA: "https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/TPS00010/A..EA20?endPeriod=2022&lastNObservations=1"
Knowledge Check

Let's put your learning to test!
Which of these are essential software for installing SDMX-DG?

itext

Select all correct options and click Submit.