Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lego Sets by Year from Rebrickable

Public visualization

Viewing a saved revision (read-only)

4029ddd29a724d3e8805d5f8338a4920

Lego Sets by Year from Rebrickable

0 stars1🌍 Public
KKelvin Yuen
Last edited Sep 18, 2019
Created on Sep 4, 2019
Forked from Making a Bar Chart

This example visualizes the cumulative number of Lego sets released each year, sourced from Rebrickable. A bar chart shows the running total of sets over time, with a time-scaled x-axis and a linear y-axis. The visualization uses D3 v5, specifically `scaleTime`, `scaleLinear`, `axisBottom`, and `axisLeft`, to render SVG rectangles. Data is loaded as CSV and parsed into JavaScript `Date` objects, with bars drawn using D3’s data join and attribute setters.

AI-generated description