🌍 Public
Viewing a saved revision (read-only)
69471ebeb02c44359fe7c3d80d39bc54
Line Chart - Lignes ok
This line chart displays the number of songs per music genre over time, with separate colored lines for Country, Pop, and Metal. The visualization uses d3.nest to group data by genre and d3.line to generate paths, with d3.scaleTime and d3.scaleLinear mapping dates and counts to SVG coordinates. It loads data from a JSON file via d3.json, which is sorted chronologically before rendering. Axes and labels are created using d3.axisBottom and d3.axisLeft, with a categorical color scale distinguishing genres.
AI-generated description