← All datasets

Chocolate

2,530 craft chocolate bars reviewed by the Flavors of Cacao database, one row per bar. Columns: the expert rating from 1 to 5, cocoa percentage, the maker and its location, the country the beans came from, the bar name, the ingredient count and a readable ingredient list (beans, sugar, cocoa butter, lecithin, vanilla, salt), and the reviewer's most memorable flavor notes. Ratings top out at 4.0 for the elite bars, with Soma, Bonnat and Scharffen Berger among the leaders, cocoa clusters around 70 percent, and Venezuela, Peru and the Dominican Republic supply the most beans. The ingredient shorthand is expanded to names and cocoa percent is parsed to a number. A sweet dataset for analysis: whether more cocoa means a higher rating, how makers and bean origins compare, and the trend toward simpler two and three ingredient bars. Eight acceptance tests, one enforcing the 25 percent fill rule on every column.
2,530 rows 1 file last pulled 2026-10-26
Source: github.com
Where would you start?
Pick a question, or ask your own and answer it; publish what you find as an insight. The same question can carry many insights from different angles.
  • Which countries consume the most chocolate relative to production?
  • How does cocoa content vary across famous bars?
  • Which brands' product lines are oldest on average?
Chocolate 2,530 rows × 11 columns
Chocolate_IDManufacturerManufacturer_LocationReview_YearBean_Origin_CountryBar_NameCocoa_PercentRatingIngredient_CountIngredientsMemorable_Characteristics

Questions and answers

What is the Chocolate dataset?

2,530 craft chocolate bars reviewed by the Flavors of Cacao database, one row per bar. Columns: the expert rating from 1 to 5, cocoa percentage, the maker and its location, the country the beans came from, the bar name, the ingredient count and a readable ingredient list (beans, sugar, cocoa butter, lecithin, vanilla, salt), and the reviewer's most memorable flavor notes. Ratings top out at 4.0 for the elite bars, with Soma, Bonnat and Scharffen Berger among the leaders, cocoa clusters around 70 percent, and Venezuela, Peru and the Dominican Republic supply the most beans. The ingredient shorthand is expanded to names and cocoa percent is parsed to a number. A sweet dataset for analysis: whether more cocoa means a higher rating, how makers and bean origins compare, and the trend toward simpler two and three ingredient bars. Eight acceptance tests, one enforcing the 25 percent fill rule on every column.

How big is the Chocolate dataset?

2,530 rows in one CSV file, with 11 columns in total: Chocolate_ID, Manufacturer, Manufacturer_Location, Review_Year, Bean_Origin_Country, Bar_Name, Cocoa_Percent, Rating, Ingredient_Count, Ingredients, Memorable_Characteristics.

Where does the data come from?

It is built by programmatically scraping github.com, last pulled on 2026-10-26. Datasets are versioned; older versions stay downloadable.

Is the dataset free to download?

Yes. Every CodeSights dataset is completely free as a CSV download; a free account is all it takes. Anyone can preview the data without signing in.

Can I see the code that built this dataset?

Yes. The exact Python scraper that built it is viewable on the dataset page by any signed-in member, so every number is reproducible.

Can the data contain errors?

Automated scraping leaves room for error and the underlying sources change over time, so no version is guaranteed accurate or complete. If a number matters, verify it against the original source.

Browse every free dataset on CodeSights