Lego Sets by Year from Rebrickable
✓ Published1🌍 Public
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 descriptionMIT Licensed