Spotify Songs Scatterplot
✓ Published0🌍 Public
This scatter plot visualizes the relationship between tempo and valence for a dataset of Spotify songs, where each circle represents a track’s musical attributes. The visualization uses D3’s `scaleLinear` and `axisLeft` to map the data, with circles colored by opacity to reveal density in overlapping regions. The chart is built via the reusable `viz` function, which handles axes, labels, and the plotting of points. The underlying data comes from the `@mjmacgregor/spotifysongs` package, and the example is intended as a template for adapting to other datasets.
AI-generated descriptionA simple scatter plot with D3 showing the Penguins Dataset.
Challenge
- Fork this viz
- Modify it to show your data
MIT Licensed