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)

8d43e82cea314955b5a6639e0bc3754b

Lego Sets by Year from Rebrickable

0 stars0🌍 Public
Ccyanea1
Last edited Sep 4, 2019
Created on Sep 4, 2019

This visualization displays the cumulative number of Lego sets released each year, using data from Rebrickable. It shows a running total over time with a bar chart rendered as SVG. The code imports specific D3 v5 modules, including `scaleLinear`, `scaleTime`, `csv`, `axisLeft`, and `axisBottom`, to construct the axes and plot. The x-axis is formatted with time intervals, while the y-axis is scaled linearly. The visualization reads the dataset from a CSV file, calculates the maximum value for domain scaling, and appends rectangles to represent the data.

AI-generated description

An example showing the capabilities of VizHub.