Group Abstract Group Abstract

Message Boards Message Boards

The Scoville scale of peppers (151st birth anniversary of W.L. Scoville)

Attachments:
8 Replies

Check out this Instant Knockout review and the dataset peppers.m in order to explore the interactive visualization.

Attachments: ScovilleScale.nb peppers.m

I know it's a little late - and I'm not sure if you'll read this comment - but thanks so much for posting this! I'm a chili enthusiast myself so this is especially interesting to me! Can't wait to give it a try.

Cool post, thank you for sharing! If any of you want some entertaining videos about actually eating some of the hotter peppers, you need to check out these episodes of Good Mythical Morning (ordered by ascending Scoville heat of the peppers involved):

The Spicy Pepper Challenge

The Ghost Pepper Challenge

The Carolina Reaper Challenge

POSTED BY: Bianca Eifert

@Imre Pázsit have you checked if Tooltip works when the mouse hovers over one of these pepper icons? This is not an animation but tooltips should work in Mathematica or CDF player. Unfortunately CloudCDF does NOT support images on tooltips yet. So the CDF player is still needed.

POSTED BY: Bernat Espigulé

Thanks for your comment! Yes the tooltip works, when I put the cursor over the pepper icons, I got a pic of the corresponding sort. But in the original message (at the top of this conversation) the cursor moves by itself. If I copy the link of this conversation to a web browser, it still works the same way (by the way this is how I shared it on Facebook). And for this to work, one does not even need to have cdf player or Mathematica, I checked in on such computers. So the code behind how the "self-going" animation above must be different from the notebook that Jofre shared. This is the point that I do not understand.

POSTED BY: Imre Pazsit

Oh, thank you for clarifying it and sharing this post. These GIF animations are screen captures made with LICEcap.

POSTED BY: Bernat Espigulé

I see. Bernat, it is me who thanks - it was most useful! Not only for understanding it, but also for the tip on the LICEcap screen capture. So far I only used QuickTime for dynamic screen capture, but it does not make GIF animations that are suitable for inclusion in html files. I downloaded and tested LICEcap, and could reconstruct the animation. I really appreciate your help!

POSTED BY: Imre Pazsit
POSTED BY: Imre Pazsit

Nice interactive ListLogPlot! Thanks for sharing it, Jofre.

I found it interesting that pepper varieties that take longer to mature tend to score higher SHU values:

ListLogPlot[
 Table[Normal[GroupBy[peppers, "type"][i][All, Tooltip[{#days, 1 + #scoville}, #variety] &]], {i, 3}], 
 PlotRange -> All, 
 AxesLabel -> {Style["Days to Mature", 12, Bold], Style["Scoville heat units
    (SHU)", 12, Red, Bold]}, 
 PlotMarkers -> {Red, Darker@Green, Orange}, 
 PlotLegends -> {"Hot", "Sweet", "Mild"}, ImageSize -> 500]

DaysVSSHU

Another observation made is that the hot type of peppers are predominantly reddish:

Table[Labeled[ImageCollage[Normal[GroupBy[peppers, "type"][i][All, "image"]]], {"Hot", "Sweet", "Mild"}[[i]]], {i, 3}]

types

Table[{"Hot", "Sweet", "Mild"}[[i]] -> 
  Part[DominantColors[
    ImageCollage[RemoveAlphaChannel[#, Transparent] & /@ RemoveBackground /@ Normal[GroupBy[peppers, "type"][i][All, "image"]]], 3], 2 ;; 3], {i, 3}]

Dominant Colors

And sweet peppers are best suited for salads as their WordCloud of comments indicates:

Table[Labeled[
  WordCloud[
   DeleteStopwords@StringJoin[Riffle[Normal[GroupBy[peppers, "type"][i][All, "comments"]], " "]]], {"Hot", "Sweet", "Mild"}[[i]]], {i, 3}]

Word Cloud

POSTED BY: Bernat Espigulé
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard