Updated

Candy Power Ranking

API Access

Access dataset files directly from scripts, code, or AI agents.

Browse dataset files
Dataset Files

Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.

/fivethirtyeight/candy-power-ranking/
https://datahub.io/fivethirtyeight/candy-power-ranking/_r/-/README.md
https://datahub.io/fivethirtyeight/candy-power-ranking/_r/-/data/candy-data.csv
https://datahub.io/fivethirtyeight/candy-power-ranking/_r/-/datapackage.json
Key Files

Start with these files — they give you everything you need to understand and access the dataset.

datapackage.jsonmetadata & schema
https://datahub.io/fivethirtyeight/candy-power-ranking/_r/-/datapackage.json
README.mddocumentation
https://datahub.io/fivethirtyeight/candy-power-ranking/_r/-/README.md
Typical Usage
  1. 1. Fetch datapackage.json to inspect schema and resources
  2. 2. Download data resources listed in datapackage.json
  3. 3. Read README.md for full context

Data Previews

candy-data

Loading data...

Schema

nametypeformat
competitornamestringdefault
chocolateintegerdefault
fruityintegerdefault
caramelintegerdefault
peanutyalmondyintegerdefault
nougatintegerdefault
crispedricewaferintegerdefault
hardintegerdefault
barintegerdefault
pluribusintegerdefault
sugarpercentnumberdefault
pricepercentnumberdefault
winpercentnumberdefault

Data Files

FileDescriptionSizeLast modifiedDownload
candy-data
5.18 kB30 days ago
candy-data
FilesSizeFormatCreatedUpdatedLicenseSource
15.18 kBcsvabout 1 month agoFiveThirtyEight - Candy Power Ranking

Candy Power Ranking

This folder contains the data behind the story The Ultimate Halloween Candy Power Ranking.

candy-data.csv includes attributes for each candy along with its ranking. For binary variables, 1 means yes, 0 means no.

The data contains the following fields:

HeaderDescription
chocolateDoes it contain chocolate?
fruityIs it fruit flavored?
caramelIs there caramel in the candy?
peanutalmondyDoes it contain peanuts, peanut butter or almonds?
nougatDoes it contain nougat?
crispedricewaferDoes it contain crisped rice, wafers, or a cookie component?
hardIs it a hard candy?
barIs it a candy bar?
pluribusIs it one of many candies in a bag or box?
sugarpercentThe percentile of sugar it falls under within the data set.
pricepercentThe unit price percentile compared to the rest of the set.
winpercentThe overall win percentage according to 269,000 matchups.

This dataset was scraped from FiveThirtyEight - candy-power-ranking