Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Test Line Chart

Public visualization

Test Line Chart

0 stars2🌍 Public
EElodie31190
Last edited Dec 2, 2022
Created on Dec 2, 2022
Forked from Line Chart

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 description

Comments

Sign in to join the discussion.

MIT Licensed