Introduction Essay Dashboard Spotify About


This bar graph illustrates the average sentiment of songs across various genres over the past 60 years, with each song classified using the Spotify API. Sentiment scores range from -1 for pessimistic songs to 1 for optimistic songs, as determined by the Natural Language Processing toolkit (NLTK). While all genres generally show a positive sentiment, averaging around 0.5, rap is notably lower, with an average sentiment of about 0.2. This discrepancy could be attributed to a potential bias in NLTK's processing of swear words, which are typically marked as negative and are more prevalent in rap music.


By: Rithya Sriram