Vega-Lite API Template for Spotify Music Attributes
This scatterplot visualizes Spotify music attributes, plotting liveness scores against a binary target variable to examine their correlation. The visualization uses the Vega-Lite API within a D3 v5 framework, loading data from a TSV file hosted on GitHub. The chart encodes the target attribute on the x-axis, liveness on the y-axis, and track names as tooltips. Data comes from the Spotify Music Attributes dataset on Kaggle, with appearance customization handled through a shared config object that adjusts font sizes and axis styling.
AI-generated descriptionA visualization constructed using the vega-lite-api.
Original data source: Spotify Music Attributes
From the graph, we can see that if the liveness score is below 0.8, it doesn't affect the author's likeliness, but if the liveliness is more than 0.8, then it usually means the author likes music. But the liveliess can also be correlated to other attributes. So, the correlation of the liveliness and the author's likeliness is not obvious from the graph.