Created
January 27, 2020 18:23
-
-
Save SaranjeetKaur/32d242e89d6a663942cb7a804098b53c to your computer and use it in GitHub Desktop.
Code for TidyTuesday week 4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install.packages("tidyverse") | |
library(tidyverse) | |
spotify <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2020/2020-01-21/spotify_songs.csv') | |
acoustics <- ggplot2::ggplot(data = spotify) + | |
geom_point(mapping = aes(x = 1:nrow(spotify), y = acousticness, colour = playlist_genre)) + | |
labs(x = 'spotify songs') | |
acoustics |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment