Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

homework pie

Public visualization

Viewing a saved revision (read-only)

c52d12b28d8b4006a4882e4c3f741dc6

homework pie

0 stars0🌍 Public
Yyujun12689
Last edited Nov 21, 2022
Created on Nov 19, 2022
Forked from hw2

This interactive scatter plot visualizes the distribution of 114,000 songs from a Spotify dataset, allowing users to explore relationships between any two numeric song attributes such as popularity, danceability, and energy. The visualization uses dropdown menus to dynamically select which attributes appear on the x- and y-axes, triggering a re-render of the SVG plot when selections change. Built with D3 v5, it uses `scaleLinear` for axes, `axisBottom` and `axisLeft` for tick marks, and data-loaded circles to represent individual tracks. A separate Google Charts table (via `loader.js`) displays aggregated case counts for categorical features like genre and explicitness.

AI-generated description