Skip to main content
100%

Gist ae6b977c060cc0ef01506b020aceeba5

✓ Published0🌍 Public
GGeorgeMcIntire
Last edited Apr 4, 2017
Created on Apr 4, 2017

This example maps the listening history of a Pandora user by scraping song attributes from Pandora’s song pages. It shows a network where each node represents a song and edges connect songs sharing common attributes, revealing clusters of similar musical traits. The scraper uses Python’s `requests` and `re` to fetch and parse HTML, building a Pandas DataFrame of binary attribute presence, then visualizes the graph with d3’s force simulation in JavaScript.

AI-generated description

Similar vizzes