Skip to main content
100%

help jin

✓ Published0🌍 Public
BBaptisteJarry
Last edited Nov 30, 2022
Created on Nov 9, 2022
Forked from TP_dataviz Projet

This example visualizes the number of Deezer fans for Rihanna’s albums using an animated bar chart. The bars appear sequentially with a transition, and hovering over them displays a tooltip with the album title and fan count. Data is fetched asynchronously from the Wasabi API via `fetch`, then processed with local ES6 modules. The chart uses D3 v4’s `scaleBand`, `scaleLinear`, `axisBottom`, and `axisLeft`, with buttons included to reorder the bars by ascending or descending fan values.

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