Skip to main content
100%

Fork of Fork of TP_dataviz

✓ Published2🌍 Public
BBaptisteJarry
Last edited Nov 30, 2022
Created on Nov 30, 2022
Forked from Fork of TP_dataviz

This visualization presents a radial bar chart depicting the top 10 music genres for the artist Rihanna, based on data retrieved from the wasabi.i3s.unice.fr API. Each arc represents a genre, with its length scaled to the number of songs. Hovering over an arc reveals the genre name, and clicking it displays a grid of up to 15 song titles. Built with D3.js (v4), the code uses `d3.scaleBand`, `d3.scaleRadial`, and `d3.arc` to construct the chart, and includes a separate interactive timeline component built with the same library that filters data by release date.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes