{
  "title": {
    "text": "The pump still dwarfs the furnace. Electricity is the large household line.",
    "subtext": "Share of US personal consumption expenditures, 1997–2025",
    "left": "center",
    "top": 8,
    "textStyle": { "fontSize": 15, "fontWeight": 600, "color": "#17212b" },
    "subtextStyle": { "fontSize": 12, "color": "#4a5560" }
  },
  "legend": {
    "bottom": 4,
    "data": ["Motor-vehicle fuels", "Electricity", "Natural gas", "Fuel oil and other fuels"]
  },
  "grid": { "left": 52, "right": 20, "top": 72, "bottom": 72, "containLabel": true },
  "tooltip": { "trigger": "axis" },
  "xAxis": {
    "type": "category",
    "data": ["1997","1998","1999","2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","2010","2011","2012","2013","2014","2015","2016","2017","2018","2019","2020","2021","2022","2023","2024","2025"],
    "axisLabel": { "interval": 3 }
  },
  "yAxis": {
    "type": "value",
    "name": "% of PCE",
    "min": 0,
    "max": 4,
    "splitLine": { "lineStyle": { "type": "dashed", "opacity": 0.5 } }
  },
  "series": [
    {
      "name": "Motor-vehicle fuels",
      "type": "line",
      "data": [2.428,2.055,2.136,2.492,2.297,2.09,2.312,2.592,2.981,3.19,3.282,3.592,2.667,3.042,3.615,3.601,3.474,3.226,2.418,2.111,2.276,2.452,2.277,1.675,2.241,2.726,2.327,2.095,1.868],
      "symbol": "circle",
      "symbolSize": 6,
      "lineStyle": { "width": 2.5, "type": "solid", "color": "#0072B2" },
      "itemStyle": { "color": "#0072B2" }
    },
    {
      "name": "Electricity",
      "type": "line",
      "data": [1.638,1.589,1.489,1.453,1.461,1.457,1.44,1.406,1.466,1.516,1.522,1.547,1.588,1.625,1.558,1.478,1.485,1.483,1.444,1.391,1.337,1.368,1.297,1.347,1.245,1.318,1.261,1.273,1.293],
      "symbol": "triangle",
      "symbolSize": 7,
      "lineStyle": { "width": 2.5, "type": "dashed", "color": "#E69F00" },
      "itemStyle": { "color": "#E69F00" }
    },
    {
      "name": "Natural gas",
      "type": "line",
      "data": [0.648,0.539,0.513,0.58,0.654,0.524,0.632,0.636,0.7,0.647,0.635,0.678,0.588,0.533,0.488,0.402,0.445,0.472,0.39,0.344,0.363,0.392,0.375,0.355,0.369,0.446,0.355,0.32,0.374],
      "symbol": "diamond",
      "symbolSize": 7,
      "lineStyle": { "width": 2.5, "type": "solid", "color": "#009E73" },
      "itemStyle": { "color": "#009E73" }
    },
    {
      "name": "Fuel oil and other fuels",
      "type": "line",
      "data": [0.239,0.197,0.197,0.235,0.219,0.194,0.225,0.235,0.255,0.256,0.263,0.3,0.235,0.24,0.252,0.218,0.228,0.234,0.174,0.144,0.162,0.179,0.165,0.141,0.153,0.186,0.149,0.132,0.139],
      "symbol": "rect",
      "symbolSize": 5,
      "lineStyle": { "width": 2, "type": "dotted", "color": "#D55E00" },
      "itemStyle": { "color": "#D55E00" }
    }
  ]
}
