Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Track_Genre_Ranking Bar Chart

Public visualization

Track_Genre_Ranking Bar Chart

0 stars1🌍 Public
Sstephanie0215
Last edited Dec 21, 2022
Created on Nov 22, 2022
Forked from Stylized Bar Chart

This interactive bar chart ranks the top 10 track genres by a user-selected audio attribute, such as popularity, danceability, or energy. It uses React state to manage the selected attribute and D3 v7 utilities like `csv`, `scaleBand`, `scaleLinear`, and `nest` to aggregate and sort the data from a CSV file. The visualization is rendered as SVG with custom `AxisBottom`, `AxisLeft`, and `Marks` components.

AI-generated description

A program that loads in some data using D3 utilities, and uses REACT state to keep track of the data.

Comments

Sign in to join the discussion.

MIT Licensed