Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wildanazz/d3-spotify-genres
A web-based visualization tool that uses D3.js to showcase Spotify listening history by analyzing and categorizing favorite music genres.
https://github.com/wildanazz/d3-spotify-genres
d3-visualization html javascript
Last synced: 13 days ago
JSON representation
A web-based visualization tool that uses D3.js to showcase Spotify listening history by analyzing and categorizing favorite music genres.
- Host: GitHub
- URL: https://github.com/wildanazz/d3-spotify-genres
- Owner: wildanazz
- License: mit
- Created: 2024-12-13T05:03:34.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-01-17T02:07:05.000Z (16 days ago)
- Last Synced: 2025-01-17T03:18:53.977Z (15 days ago)
- Topics: d3-visualization, html, javascript
- Language: HTML
- Homepage: https://wildanazz.github.io/d3-spotify-genres/
- Size: 4.27 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# D3 Spotify Genres
A web-based visualization tool that uses D3.js to showcase Spotify listening history by analyzing and categorizing favorite music genres.
![Spotify Genres](./data/image.png)
## Features
- 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.## Installation
### Prerequisites
- [Python](https://www.python.org/) installed on your system.
### Steps
1. Clone the repository:
```bash
git clone https://github.com/wildanazz/d3-spotify-genres.git
cd d3-spotify-genres
```2. Start the development server:
```bash
python -m http.server
```3. Open your browser and navigate to `http://localhost:8000`.
## Technologies Used
- **Frontend**: D3.js, HTML, CSS, JavaScript
- **Backend**: Python, Flask
- **API**: Spotify Web API## Todo
- Optimize performance (e.g. efficient plot redrawing).
## Acknowledgements
- Special thanks to [Genre Map Explorer for Spotify](https://observablehq.com/@mjbo/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](https://everynoise.com/), a comprehensive resource that categorizes and maps musical genres created by Stephen R.
- [Spotify Web API](https://developer.spotify.com/documentation/web-api/) for providing access to spotify music data.
- [D3.js](https://d3js.org/) for creating dynamic and interactive visualizations in this project.