Lego Sets by Year from Rebrickable
✓ Published1🌍 Public
This visualization shows the cumulative number of Lego sets released each year, based on data from Rebrickable, with a bar chart where each bar represents a year’s running total. The chart scales time on the x-axis and a linear count on the y-axis, using d3.scaleTime and d3.scaleLinear, while axes are generated with d3.axisBottom and d3.axisLeft. Rects are appended to an SVG group to draw the bars, and tick formatting is customized with d3.timeYear.every to space year labels. The data is loaded via d3.csv and transformed before rendering.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed