Skip to content

Instantly share code, notes, and snippets.

@SaranjeetKaur
Created January 27, 2020 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SaranjeetKaur/32d242e89d6a663942cb7a804098b53c to your computer and use it in GitHub Desktop.
Save SaranjeetKaur/32d242e89d6a663942cb7a804098b53c to your computer and use it in GitHub Desktop.
Code for TidyTuesday week 4
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