Generate chartpacks

Exactly one of chartpack and chartpacks is required.

One chartpack

chartpack:
  file_name: chartpack.yaml
  title: Policy experiment
  first_result_year: 2026
  last_result_year: 2050
  derivations: [GDPRGROWTH]
  max_series_per_chart: 12
  charts:
    - variable_prefix: GDPRGROWTH
      selectors:
        - dimension: regions
          members: all

max_series_per_chart splits a large selector result into readable charts. Its default is 25.

A chart with selected styled series

charts:
  - title: Real interest rates
    start_year: 2026
    end_year: 2040
    y_axis:
      min: -2
      max: 8
    series:
      - variable: INTR(USA)
        label: USA
        style:
          colour: "#2455a4"
          line: solid
      - variable: INTR(CHN)
        label: China
        style:
          colour: "#d62728"
          line: dash

Several output files

chartpacks:
  - file_name: chartpack.yaml
    title: Main results
  - file_name: target_comparison.yaml
    title: Target comparison
    first_result_year: 2026
    last_result_year: 2035
    charts:
      - variable: target_CO2(USA)

In plural form, every filename is required and unique. See standalone chartpack YAML for the generated file syntax.


This site uses Just the Docs, a documentation theme for Jekyll.