Skip to main content
100%

Lego Sets by Year from Rebrickable

✓ Published1🌍 Public
Eelaine-xiao
Last edited Sep 8, 2019
Created on Sep 7, 2019
Forked from Customizing Axes

This bar chart displays the cumulative running total of LEGO sets released each year from 1949 to 2019, using data from Rebrickable. The chart encodes years on the x-axis and the running total (divided by 100 in the data preprocessing) on the y-axis, with steel-blue bars representing each year’s cumulative count. The visualization is built with D3 v5, using `csv()` to load the data, `scaleBand` and `scaleLinear` for scales, and `axisBottom` and `axisLeft` for axes. The title and axis labels are added manually via SVG text elements.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.

See also the first bar chart visualization that this one builds on: Making a Bar Chart.

MIT Licensed

Similar vizzes