help jin
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed