Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lego Sets by Year from Rebrickable

Public visualization

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.

Comments

Sign in to join the discussion.

MIT Licensed