Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CSV Data

Public visualization

CSV Data

0 stars0🌍 Public
Wwaterm80
Last edited Nov 16, 2022
Created on Nov 16, 2022

This example visualizes aggregated popularity by music genre using CSV data loaded from a remote GitHub URL. The bar chart shows how track popularity sums vary across genres, with each genre represented as a distinct bar. The code uses d3.csv to fetch and parse the dataset, then d3.nest and d3.sum to group records by track_genre and calculate total popularity. The visualization runs in a React framework with D3 v5, though the displayed output relies solely on the data aggregation logic without additional chart rendering.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed