{
  "profile": "data-package",
  "licenses": [
    {
      "name": "ODC-PDDL-1.0",
      "path": "http://opendatacommons.org/licenses/pddl/",
      "title": "Open Data Commons Public Domain Dedication and License v1.0"
    }
  ],
  "name": "co2-fossil-global",
  "resources": [
    {
      "name": "fuel-breakdown",
      "path": "data/fuel-breakdown.csv",
      "format": "csv",
      "mediatype": "text/csv",
      "schema": {
        "fields": [
          { "name": "year", "type": "integer" },
          { "name": "fuel", "type": "string" },
          { "name": "emissions_mt", "type": "number", "description": "CO₂ emissions in megatonnes" }
        ]
      }
    },
    {
      "name": "global",
      "path": "data/global.csv",
      "format": "csv",
      "mediatype": "text/csv",
      "profile": "tabular-data-resource",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "description": "Year",
            "name": "Year",
            "type": "year"
          },
          {
            "description": "Total carbon emissions from fossil fuel consumption and cement production (million metric tons of C)",
            "name": "Total",
            "type": "number"
          },
          {
            "description": "Carbon emissions from gas fuel consumption",
            "name": "Gas Fuel",
            "type": "number"
          },
          {
            "description": "Carbon emissions from liquid fuel consumption",
            "name": "Liquid Fuel",
            "type": "number"
          },
          {
            "description": "Carbon emissions from solid fuel consumption",
            "name": "Solid Fuel",
            "type": "number"
          },
          {
            "description": "Carbon emissions from cement production",
            "name": "Cement",
            "type": "number"
          },
          {
            "description": "Carbon emissions from gas flaring",
            "name": "Gas Flaring",
            "type": "number"
          },
          {
            "description": "Per capita carbon emissions (metric tons of carbon; after 1949 only)",
            "name": "Per Capita",
            "type": "number"
          }
        ],
        "missingValues": [
          ""
        ]
      }
    }
  ],
  "sources": [
    {
      "name": "Global Carbon Project",
      "path": "https://doi.org/10.5281/zenodo.17417124",
      "title": "The Global Carbon Project's fossil CO2 emissions dataset (2025v15)"
    }
  ],
  "title": "Global CO2 Emissions from Fossil Fuels since 1750",
  "views": [
    {
      "name": "fuel-breakdown",
      "title": "Global CO₂ Emissions by Fuel Type (1900–2024)",
      "description": "Fossil fuel CO₂ emissions split by source: solid fuels (coal) dominated through the mid-20th century, then liquid fuels (oil) surged with post-war growth, and gas fuels rose steadily. Cement has grown sharply since 2000, driven by Chinese construction. Total emissions have risen 20× since 1900.",
      "resources": ["fuel-breakdown"],
      "specType": "plot",
      "spec": {
        "height": 420,
        "marginLeft": 65,
        "x": { "label": "Year", "tickFormat": ".0f" },
        "y": { "label": "CO₂ Emissions (Mt)", "grid": true },
        "color": { "legend": true },
        "marks": [
          {
            "type": "line",
            "x": "year", "y": "emissions_mt", "stroke": "fuel",
            "strokeWidth": 2, "tip": true
          }
        ]
      }
    },
    {
      "name": "graph",
      "title": "Global CO2 Emissions from Fossil Fuels since 1750",
      "resourceName": "global",
      "specType": "simple",
      "spec": {
        "type": "line",
        "group": "Year",
        "series": [
          "Total"
        ]
      }
    }
  ],
  "collection": "climate-change"
}
