Test Line Chart
✓ Published2🌍 Public
This example shows how the number of music releases changes over time, grouped by genre, using a simple line chart. The visualization aggregates the provided JSON data by counting records for each genre and year, then plots these counts on a time-based x-axis against a linear y-axis. The chart is rendered as an SVG using D3 v5, with `scaleTime`, `scaleLinear`, and the `line` generator for the path. Axes are created with `axisBottom` and `axisLeft`, and a red stroke highlights the resulting trend line.
AI-generated descriptionMIT Licensed