Skip to main content
Public

Share visualization

Loading preview…

Top 100 Songs w/ Menus

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Top 100 Songs w/ Menus

2
Ssamemurk21
Last edited Oct 7, 2019
Created on Oct 1, 2019

A scatterplot shows the relationship between two musical attributes for Spotify’s top 100 songs of 2018, with dropdown menus letting viewers select which attribute appears on each axis. The code uses React hooks (useState, useData) to manage selections, d3.scaleLinear and d3.extent for scales, and custom AxisBottom/AxisLeft components to render SVG ticks. Circles are drawn with d3.csv data, and ReactDropdown provides the menu interface.

AI-generated description

A visualization showing the relationship between danceability and energy of the top 100 songs of 2018.

Comments

Sign in to join the discussion.

MIT Licensed