Gallery

Nutri-Score by food group

How many US packaged products in each food group Open Food Facts grades D or E on Nutri-Score, from Chapter 4's read of the Open Food Facts product file.

Nine in ten sweets and biscuits grade D or E; fewer than one in twenty vegetables do

0.0%20.0%40.0%60.0%80.0%100.0%Share graded D or ESweets: 92.8%Sweets92.8%Biscuits and cakes: 92.4%Biscuits and cakes92.4%Processed meat: 88.6%Processed meat88.6%Cheese: 84.4%Cheese84.4%Pizza pies and quiches: 78.0%Pizza pies and quiches78.0%Sweetened beverages: 76.2%Sweetened beverages76.2%Appetizers: 75.8%Appetizers75.8%Sandwiches: 61.2%Sandwiches61.2%Dressings and sauces: 58.4%Dressings and sauces58.4%Breakfast cereals: 57.9%Breakfast cereals57.9%Plant based milk substitutes: 47.3%Plant based milk substitutes47.3%Meat: 45.2%Meat45.2%One dish meals: 32.7%One dish meals32.7%Unsweetened beverages: 31.9%Unsweetened beverages31.9%Cereals: 31.3%Cereals31.3%Fats: 28.2%Fats28.2%Bread: 25.4%Bread25.4%Artificially sweetened beverages: 23.2%Artificially sweetened beverages23.2%Milk and yogurt: 19.9%Milk and yogurt19.9%Nuts: 19.2%Nuts19.2%Fish and seafood: 17.6%Fish and seafood17.6%Fruits: 7.5%Fruits7.5%Legumes: 5.0%Legumes5.0%Eggs: 4.6%Eggs4.6%Vegetables: 4.1%Vegetables4.1%
Share of US packaged products graded D or E on Nutri-Score, by food group, Open Food Facts snapshot of October 2026
Sweets92.8%
Biscuits and cakes92.4%
Processed meat88.6%
Cheese84.4%
Pizza pies and quiches78.0%
Sweetened beverages76.2%
Appetizers75.8%
Sandwiches61.2%
Dressings and sauces58.4%
Breakfast cereals57.9%
Plant based milk substitutes47.3%
Meat45.2%
One dish meals32.7%
Unsweetened beverages31.9%
Cereals31.3%
Fats28.2%
Bread25.4%
Artificially sweetened beverages23.2%
Milk and yogurt19.9%
Nuts19.2%
Fish and seafood17.6%
Fruits7.5%
Legumes5.0%
Eggs4.6%
Vegetables4.1%
Share of US products in each Open Food Facts food group graded D or E (the two worst of five Nutri-Score grades), among products with a grade. Food groups as Open Food Facts assigns them.SourceOpen Food Facts food.parquet, Hugging Face snapshot 2026-10-24 (ODbL). From Chapter 4.

Nutri-Score grades a product from A (best) to E from its label's nutrient table, weighing sugar, salt, saturated fat and energy against fibre, protein and fruit or vegetable content. Across the 384,276 US products in Open Food Facts that have a grade, 56% score D or E. By food group the share runs from 92.8% for sweets and 92.4% for biscuits and cakes down to 4.1% for vegetables. Processed meat (88.6%) sits far above other meat (45.2%). The grade is computed by Open Food Facts; it is not printed on US packs. Only 39% of US products have one, and products enter the database when volunteers or brands add them, so the shares describe the database, not what Americans buy.

Grade shares per food group, with the D-or-E share as a window sumchapters/04-food-supply/pipeline/20_model.sqlShow SQL
20_model.sqlSQL
CREATE OR REPLACE TABLE nutriscore_by_category AS
WITH c AS (
    SELECT category, nutriscore_grade AS grade, count(*) AS n
    FROM products WHERE category IS NOT NULL AND nutriscore_grade IS NOT NULL
    GROUP BY ALL)
SELECT category, grade, n,
       n / sum(n) OVER (PARTITION BY category) AS share,
       sum(n) OVER (PARTITION BY category)     AS n_category
FROM c;

-- 90_export.sql
SELECT category, grade, n, round(share, 4) AS share, n_category,
       round(sum(share) FILTER (grade IN ('D', 'E')) OVER (PARTITION BY category), 4) AS share_de_category
FROM nutriscore_by_category ORDER BY share_de_category DESC, category, grade;

125 rows: 25 food groups x 5 gradesRuns at build time in DuckDB 2.0; shown for reading.Open file

The FILTER clause inside a window function adds up only the D and E rows of each group, so the share sits on every row without a self-join. Chapter 4 draws all five grades per group as stacked bars; this version keeps only the D-or-E share for a quick ranking.

From Chapter 4: What packaged-food labels let us compare, which has the pipeline, the checks and the full grade breakdown. Data: public/data/food-supply/nutriscore_by_category.json.