1 The popularity of a track is a value between 0 and 100, with 100 being the most popular. The popularity is calculated by algorithm and is based, in the most part, on the total number of plays the track has had and how recent those plays are.
Generally speaking, songs that are being played a lot now will have a higher popularity than songs that were played a lot in the past.
top_hits =transpose(top_hits_ojs)// Create a dropdown menu of the songsviewof songDropdown = Inputs.select( top_hits.map(d => d.song_name), {label:"Choose a song",unique:true })
Want to make a project like this? This dashboard was inspired by Melissa Van Bussel for Posit’s Table Contest. You can find her tutorial here and you can find the code that powers my version of the dashboard here.