     sankey:
       data:
         nodes: [
-          {id: 'coal_and_derivatives',         column: 0, label: 'coal', color: 'black'},
-          {id: 'oil_and_derivatives',          column: 0, label: 'oil', color: '#8c564b'},
-          {id: 'geo_solar_wind_water_ambient', column: 0,  label: "renewable", color: '#2ca02c'},
-          {id: 'natural_gas',                  column: 0, label: "gas", color: '#7f7f7f'},
-          {id: 'nuclear',                      column: 0, label: "uranium", color: '#ff7f0e'},
-          {id: 'biomass_products',             column: 0, label: "biomass & waste", color: '#2ca02c'},
-          {id: 'import',                       column: 0, label: "electricity import", color: '#1f77b4'},
+          {id: 'coal_and_derivatives',         column: 0, label: 'coal',                   color: '#252525'},
+          {id: 'oil_and_derivatives',          column: 0, label: 'oil',                    color: '#8c564b'},
+          {id: 'geo_solar_wind_water_ambient', column: 0, label: "renewable",              color: '#2ca02c'},
+          {id: 'natural_gas',                  column: 0, label: "gas",                    color: '#7f7f7f'},
+          {id: 'nuclear',                      column: 0, label: "uranium",                color: '#ff7f0e'},
+          {id: 'biomass_products',             column: 0, label: "biomass & waste",        color: '#2ca02c'},
+          {id: 'import',                       column: 0, label: "electricity import",     color: '#1f77b4'},
           {id: 'electricity_prod',             column: 1, label: "electricity production", color: '#1f77b4'},
           {id: 'chps',                         column: 1, label: "CHPs",                   color: '#9467bd'},
           {id: 'households',                   column: 2},

          {id: 'loss',                         column: 2}
        ]
        links: [
          {left: 'coal_and_derivatives',          right: 'electricity_prod', gquery: 'coal_and_derivatives_to_electricity_prod_in_sankey', color: 'black'},
          {left: 'oil_and_derivatives',           right: 'electricity_prod', gquery: 'oil_and_derivatives_to_electricity_prod_in_sankey', color: '#8c564b'},
          {left: 'geo_solar_wind_water_ambient',  right: 'electricity_prod', gquery: 'geo_solar_wind_water_ambient_to_electricity_prod_in_sankey', color: '#2ca02c'},
          {left: 'natural_gas',                   right: 'electricity_prod', gquery: 'natural_gas_to_electricity_prod_in_sankey', color: '#7f7f7f'},
          {left: 'nuclear',                       right: 'electricity_prod', gquery: 'nuclear_to_electricity_prod_in_sankey', color: '#ff7f0e'},
          {left: 'biomass_products',              right: 'electricity_prod', gquery: 'biomass_products_to_electricity_prod_in_sankey', color: '#2ca02c'},
          {left: 'coal_and_derivatives',          right: 'chps', gquery: 'coal_and_derivatives_to_chps_prod_in_sankey', color: 'black'},
          {left: 'oil_and_derivatives',           right: 'chps', gquery: 'oil_and_derivatives_to_chps_prod_in_sankey', color: '#8c564b'},
          {left: 'geo_solar_wind_water_ambient',  right: 'chps', gquery: 'geo_solar_wind_water_ambient_to_chps_prod_in_sankey', color: '#2ca02c'},
          {left: 'natural_gas',                   right: 'chps', gquery: 'natural_gas_to_chps_prod_in_sankey', color: '#7f7f7f'},
          {left: 'nuclear',                       right: 'chps', gquery: 'nuclear_to_chps_prod_in_sankey', color: '#ff7f0e'},
          {left: 'biomass_products',              right: 'chps', gquery: 'biomass_products_to_chps_prod_in_sankey', color: '#2ca02c'},
          {left: 'coal_and_derivatives',          right: 'households', gquery: 'coal_and_derivatives_to_households_in_sankey', color: 'black'},
          {left: 'coal_and_derivatives',          right: 'buildings', gquery: 'coal_and_derivatives_to_buildings_in_sankey', color: 'black'},
          {left: 'coal_and_derivatives',          right: 'transport', gquery: 'coal_and_derivatives_to_transport_in_sankey', color: 'black'},
          {left: 'coal_and_derivatives',          right: 'industry', gquery: 'coal_and_derivatives_to_industry_in_sankey', color: 'black'},
          {left: 'coal_and_derivatives',          right: 'agriculture', gquery: 'coal_and_derivatives_to_agriculture_in_sankey', color: 'black'},
          {left: 'coal_and_derivatives',          right: 'other', gquery: 'coal_and_derivatives_to_other_in_sankey', color: 'black'},
          {left: 'oil_and_derivatives',           right: 'households', gquery: 'oil_and_derivatives_to_households_in_sankey', color: '#8c564b'},
          {left: 'oil_and_derivatives',           right: 'buildings', gquery: 'oil_and_derivatives_to_buildings_in_sankey', color: '#8c564b'},
          {left: 'oil_and_derivatives',           right: 'transport', gquery: 'oil_and_derivatives_to_transport_in_sankey', color: '#8c564b'},
          {left: 'oil_and_derivatives',           right: 'industry', gquery: 'oil_and_derivatives_to_industry_in_sankey', color: '#8c564b'},
          {left: 'oil_and_derivatives',           right: 'agriculture', gquery: 'oil_and_derivatives_to_agriculture_in_sankey', color: '#8c564b'},
          {left: 'oil_and_derivatives',           right: 'other', gquery: 'oil_and_derivatives_to_other_in_sankey', color: '#8c564b'},
          {left: 'geo_solar_wind_water_ambient',  right: 'households', gquery: 'geo_solar_wind_water_ambient_to_households_in_sankey', color: '#2ca02c'},
          {left: 'geo_solar_wind_water_ambient',  right: 'buildings', gquery: 'geo_solar_wind_water_ambient_to_buildings_in_sankey', color: '#2ca02c'},
          {left: 'geo_solar_wind_water_ambient',  right: 'transport', gquery: 'geo_solar_wind_water_ambient_to_transport_in_sankey', color: '#2ca02c'},
          {left: 'geo_solar_wind_water_ambient',  right: 'industry', gquery: 'geo_solar_wind_water_ambient_to_industry_in_sankey', color: '#2ca02c'},
          {left: 'geo_solar_wind_water_ambient',  right: 'agriculture', gquery: 'geo_solar_wind_water_ambient_to_agriculture_in_sankey', color: '#2ca02c'},
          {left: 'geo_solar_wind_water_ambient',  right: 'other', gquery: 'geo_solar_wind_water_ambient_to_other_in_sankey', color: '#2ca02c'},
          {left: 'natural_gas',                   right: 'households', gquery: 'natural_gas_to_households_in_sankey', color: '#7f7f7f'},
          {left: 'natural_gas',                   right: 'buildings', gquery: 'natural_gas_to_buildings_in_sankey', color: '#7f7f7f'},
          {left: 'natural_gas',                   right: 'transport', gquery: 'natural_gas_to_transport_in_sankey', color: '#7f7f7f'},
          {left: 'natural_gas',                   right: 'industry', gquery: 'natural_gas_to_industry_in_sankey', color: '#7f7f7f'},
          {left: 'natural_gas',                   right: 'agriculture', gquery: 'natural_gas_to_agriculture_in_sankey', color: '#7f7f7f'},
          {left: 'natural_gas',                   right: 'other', gquery: 'natural_gas_to_other_in_sankey', color: '#7f7f7f'},
          {left: 'nuclear',                       right: 'households', gquery: 'nuclear_to_households_in_sankey', color: '#ff7f0e'},
          {left: 'nuclear',                       right: 'buildings', gquery: 'nuclear_to_buildings_in_sankey', color: '#ff7f0e'},
          {left: 'nuclear',                       right: 'transport', gquery: 'nuclear_to_transport_in_sankey', color: '#ff7f0e'},
          {left: 'nuclear',                       right: 'industry', gquery: 'nuclear_to_industry_in_sankey', color: '#ff7f0e'},
          {left: 'nuclear',                       right: 'agriculture', gquery: 'nuclear_to_agriculture_in_sankey', color: '#ff7f0e'},
          {left: 'nuclear',                       right: 'other', gquery: 'nuclear_to_other_in_sankey', color: '#ff7f0e'},
          {left: 'biomass_products',              right: 'households', gquery: 'biomass_products_to_households_in_sankey', color: '#2ca02c'},
          {left: 'biomass_products',              right: 'buildings', gquery: 'biomass_products_to_buildings_in_sankey', color: '#2ca02c'},
          {left: 'biomass_products',              right: 'transport', gquery: 'biomass_products_to_transport_in_sankey', color: '#2ca02c'},
          {left: 'biomass_products',              right: 'industry', gquery: 'biomass_products_to_industry_in_sankey', color: '#2ca02c'},
          {left: 'biomass_products',              right: 'agriculture', gquery: 'biomass_products_to_agriculture_in_sankey', color: '#2ca02c'},
          {left: 'biomass_products',              right: 'other', gquery: 'biomass_products_to_other_in_sankey', color: '#2ca02c'},
          {left: 'import',                        right: 'electricity_prod', gquery: 'import_to_electricity_prod_in_sankey', color: '#1f77b4'},
          {left: 'chps',                          right: 'households', gquery: 'chps_to_households_in_sankey', color: '#d62728'},
          {left: 'chps',                          right: 'buildings', gquery: 'chps_to_buildings_in_sankey', color: '#d62728'},
          {left: 'chps',                          right: 'transport', gquery: 'chps_to_transport_in_sankey', color: '#d62728'},
          {left: 'chps',                          right: 'industry', gquery: 'chps_to_industry_in_sankey', color: '#d62728'},
          {left: 'chps',                          right: 'agriculture', gquery: 'chps_to_agriculture_in_sankey', color: '#d62728'},
          {left: 'chps',                          right: 'other', gquery: 'chps_to_other_in_sankey', color: '#d62728'},
          {left: 'electricity_prod',              right: 'households', gquery: 'electricity_prod_to_households_in_sankey', color: '#1f77b4'},
          {left: 'electricity_prod',              right: 'buildings', gquery: 'electricity_prod_to_buildings_in_sankey', color: '#1f77b4'},
          {left: 'electricity_prod',              right: 'transport', gquery: 'electricity_prod_to_transport_in_sankey', color: '#1f77b4'},
          {left: 'electricity_prod',              right: 'industry', gquery: 'electricity_prod_to_industry_in_sankey', color: '#1f77b4'},
          {left: 'electricity_prod',              right: 'agriculture', gquery: 'electricity_prod_to_agriculture_in_sankey', color: '#1f77b4'},
          {left: 'electricity_prod',              right: 'other', gquery: 'electricity_prod_to_other_in_sankey', color: '#1f77b4'},
          {left: 'chps',                          right: 'households', gquery: 'chps_e_to_households_in_sankey', color: '#1f77b4'},
          {left: 'chps',                          right: 'buildings', gquery: 'chps_e_to_buildings_in_sankey', color: '#1f77b4'},
          {left: 'chps',                          right: 'transport', gquery: 'chps_e_to_transport_in_sankey', color: '#1f77b4'},
          {left: 'chps',                          right: 'industry', gquery: 'chps_e_to_industry_in_sankey', color: '#1f77b4'},
          {left: 'chps',                          right: 'agriculture', gquery: 'chps_e_to_agriculture_in_sankey', color: '#1f77b4'},
          {left: 'chps',                          right: 'other', gquery: 'chps_e_to_other_in_sankey', color: '#1f77b4'},
          {left: 'electricity_prod',              right: 'loss', gquery: 'electricity_prod_to_loss_in_sankey', color: '#7f7f7f'},
          {left: 'chps',                          right: 'loss', gquery: 'chps_to_loss_in_sankey', color: '#7f7f7f'},
          {left: 'electricity_prod',              right: 'exported_electricity', gquery: 'electricity_production_to_export_in_sankey', color: '#1f77b4'}
        ]


          {id: 'useful_demand_non_energetic',   column: 2, label: "non-energetic"}
        ]
        links: [
          {left: 'coal_and_derivatives',      right: 'households',                  gquery: 'coal_and_derivatives_to_households_in_sankey_ufp', color: '#252525'},
          {left: 'oil_and_derivatives',       right: 'households',                  gquery: 'oil_and_derivatives_to_households_in_sankey_ufp', color: '#8c564b'},
          {left: 'natural_gas',               right: 'households',                  gquery: 'natural_gas_to_households_in_sankey_ufp', color: '#7f7f7f'},
          {left: 'nuclear',                   right: 'households',                  gquery: 'nuclear_to_households_in_sankey_ufp', color: '#ff7f0e'},
          {left: 'biomass_products',          right: 'households',                  gquery: 'biomass_products_to_households_in_sankey_ufp', color: '#2ca02c'},
          {left: 'imported_electricity',      right: 'households',                  gquery: 'imported_electricity_to_households_in_sankey_ufp', color: '#1f77b4'},
          {left: 'electricity',               right: 'households',                  gquery: 'electricity_to_households_in_sankey_ufp', color: '#1f77b4'},
          {left: 'coal_and_derivatives',      right: 'buildings',                   gquery: 'coal_and_derivatives_to_buildings_in_sankey_ufp', color: '#252525'},
          {left: 'oil_and_derivatives',       right: 'buildings',                   gquery: 'oil_and_derivatives_to_buildings_in_sankey_ufp', color: '#8c564b'},
          {left: 'natural_gas',               right: 'buildings',                   gquery: 'natural_gas_to_buildings_in_sankey_ufp', color: '#7f7f7f'},
          {left: 'nuclear',                   right: 'buildings',                   gquery: 'nuclear_to_buildings_in_sankey_ufp', color: '#ff7f0e'},
          {left: 'biomass_products',          right: 'buildings',                   gquery: 'biomass_products_to_buildings_in_sankey_ufp', color: '#2ca02c'},
          {left: 'imported_electricity',      right: 'buildings',                   gquery: 'imported_electricity_to_buildings_in_sankey_ufp', color: '#1f77b4'},
          {left: 'electricity',               right: 'buildings',                   gquery: 'electricity_to_buildings_in_sankey_ufp', color: '#1f77b4'},
          {left: 'coal_and_derivatives',      right: 'agriculture',                 gquery: 'coal_and_derivatives_to_agriculture_in_sankey_ufp', color: '#252525'},
          {left: 'oil_and_derivatives',       right: 'agriculture',                 gquery: 'oil_and_derivatives_to_agriculture_in_sankey_ufp', color: '#8c564b'},
          {left: 'natural_gas',               right: 'agriculture',                 gquery: 'natural_gas_to_agriculture_in_sankey_ufp', color: '#7f7f7f'},
          {left: 'nuclear',                   right: 'agriculture',                 gquery: 'nuclear_to_agriculture_in_sankey_ufp', color: '#ff7f0e'},
          {left: 'biomass_products',          right: 'agriculture',                 gquery: 'biomass_products_to_agriculture_in_sankey_ufp', color: '#2ca02c'},
          {left: 'imported_electricity',      right: 'agriculture',                 gquery: 'imported_electricity_to_agriculture_in_sankey_ufp', color: '#1f77b4'},
          {left: 'electricity',               right: 'agriculture',                 gquery: 'electricity_to_agriculture_in_sankey_ufp', color: '#1f77b4'},
          {left: 'coal_and_derivatives',      right: 'transport',                   gquery: 'coal_and_derivatives_to_transport_in_sankey_ufp', color: '#252525'},
          {left: 'oil_and_derivatives',       right: 'transport',                   gquery: 'oil_and_derivatives_to_transport_in_sankey_ufp', color: '#8c564b'},
          {left: 'natural_gas',               right: 'transport',                   gquery: 'natural_gas_to_transport_in_sankey_ufp', color: '#7f7f7f'},
          {left: 'nuclear',                   right: 'transport',                   gquery: 'nuclear_to_transport_in_sankey_ufp', color: '#ff7f0e'},
          {left: 'biomass_products',          right: 'transport',                   gquery: 'biomass_products_to_transport_in_sankey_ufp', color: '#2ca02c'},
          {left: 'imported_electricity',      right: 'transport',                   gquery: 'imported_electricity_to_transport_in_sankey_ufp', color: '#1f77b4'},
          {left: 'electricity',               right: 'transport',                   gquery: 'electricity_to_transport_in_sankey_ufp', color: '#1f77b4'},
          {left: 'coal_and_derivatives',      right: 'industry',                    gquery: 'coal_and_derivatives_to_industry_in_sankey_ufp', color: '#252525'},
          {left: 'oil_and_derivatives',       right: 'industry',                    gquery: 'oil_and_derivatives_to_industry_in_sankey_ufp', color: '#8c564b'},
          {left: 'natural_gas',               right: 'industry',                    gquery: 'natural_gas_to_industry_in_sankey_ufp', color: '#7f7f7f'},
          {left: 'nuclear',                   right: 'industry',                    gquery: 'nuclear_to_industry_in_sankey_ufp', color: '#ff7f0e'},
          {left: 'biomass_products',          right: 'industry',                    gquery: 'biomass_products_to_industry_in_sankey_ufp', color: '#2ca02c'},
          {left: 'imported_electricity',      right: 'industry',                    gquery: 'imported_electricity_to_industry_in_sankey_ufp', color: '#1f77b4'},
          {left: 'electricity',               right: 'industry',                    gquery: 'electricity_to_industry_in_sankey_ufp', color: '#1f77b4'},
          {left: 'coal_and_derivatives',      right: 'other',                       gquery: 'coal_and_derivatives_to_other_in_sankey_ufp', color: '#252525'},
          {left: 'oil_and_derivatives',       right: 'other',                       gquery: 'oil_and_derivatives_to_other_in_sankey_ufp', color: '#8c564b'},
          {left: 'natural_gas',               right: 'other',                       gquery: 'natural_gas_to_other_in_sankey_ufp', color: '#7f7f7f'},
          {left: 'nuclear',                   right: 'other',                       gquery: 'nuclear_to_other_in_sankey_ufp', color: '#ff7f0e'},
