A web-based visualization tool that uses D3.js to showcase Spotify listening history by analyzing and categorizing favorite music genres.
- Fetches and processes user data via the Spotify Web API.
- Dynamically generates interactive genre-based visualizations using D3.js.
- Provides insights into user listening preferences.
- Easy-to-use interface for authentication and data exploration.
- Node.js installed on your system.
- Spotify Developer Account to obtain your client ID and client secret.
-
Clone the repository:
git clone https://github.com/wildanazz/d3-spotify-genres.git cd d3-spotify-genres -
Install the required dependencies:
npm install
-
Add your Spotify Client ID to the
scripts/env.jsfile. This is required to authenticate with the Spotify Web API. -
Start the development server:
npm start
- Frontend: D3.js, HTML, CSS, JavaScript
- Backend: Node.js, Express
- API: Spotify Web API
- Optimize performance (e.g. efficient plot redrawing).
- Special thanks to Genre Map Explorer for Spotify for the inspiration behind this project. Max's work provided great insights and ideas that helped shape this project.
- This project uses the music genre data and visualizations from Every Noise at Once, a comprehensive resource that categorizes and maps musical genres created by Stephen R.
- Spotify Web API for providing access to spotify music data.
- D3.js for creating dynamic and interactive visualizations in this project.
- Contributors who have provided valuable feedback and improvements.
