Skip to main content
100%

Lego Dataset

✓ Published1🌍 Public
IIan Wright
Last edited Sep 8, 2024
Created on Sep 2, 2024

This example displays the raw JSON of a single Lego set record, converted from the CSV data. It shows the dataset's structure, including fields like item number, theme, piece count, and regional prices. The code uses a `container.innerHTML` assignment to render a `<pre>` element, presenting the first data row formatted with `JSON.stringify`. The source is the Lego Sets Dataset, and the visualization is a simple, static data inspection rather than a chart.

AI-generated description

The Lego Sets Dataset.

This contains information about every Lego set manufactured from 1970 to 2015, which is over 6000 sets.

A few attributes are included from each set:

  • Its ID
  • Its name
  • Its manufacture year
  • Its theme
  • Its number of pieces
  • Its number of minifigures
  • Its price in various regions
  • Its availability and box type

Tasks:

  • I want to understand the correlation between cost and number of pieces
  • I want to visualize how the number of pieces has changed over time
  • I want to visualize how cost has changed over time
  • I want to understand the correlation between theme and number of pieces
  • I want to visualize which themes sets come from - perhaps a bubble chart or a pie chart could accomplish this
MIT Licensed

Similar vizzes