Skip to main content
100%

Barchart

✓ Published0🌍 Public
JJuliette
Last edited Sep 26, 2022
Created on Sep 26, 2022
Forked from Yeesir

This example displays a bar chart of the ten most frequent words found in an artist’s song lyrics, excluding common stopwords. Users select an artist from a dropdown menu, triggering a fetch to the wasabi.i3s.unice.fr API, which retrieves the artist’s albums and songs. The visualization uses D3 v5’s `scaleLinear` and `scaleBand` to map counts and words to SVG coordinates, drawing animated lines and circles with `transition().duration()`. The chart updates dynamically, with axes and marks transitioning smoothly as new data arrives.

AI-generated description

Un exemple pour le TP.

MIT Licensed

Similar vizzes