Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7.1.2

Public visualization

Activity 7.1.2

0 stars0🌍 Public
Yyadlapallisaisathvik@gmail.com
Last edited Nov 6, 2024
Created on Nov 6, 2024

This area chart visualizes LEGO sales over the past decade, showing a smooth, curved trend of annual revenue growth. The visualization uses D3 v5 APIs, including `area` and `line` generators with `curveBasis` for smooth interpolation, along with `scaleTime` and `scaleLinear` for axes. Gridlines and axis labels are rendered via `axisBottom` and `axisLeft`. Data is loaded from a CSV hosted on GitHub, parsed with `timeParse`, and displayed as an SVG with a steelblue filled area and darkblue line.

AI-generated description

Lego sales all over the world

Comments

Sign in to join the discussion.

MIT Licensed