Skip to main content
100%

Lego Colors Dataset

✓ Published1🌍 Public
AAri Schechter
Last edited Sep 11, 2024
Created on Sep 5, 2024

This example visualizes the Lego Colors Dataset, displaying the first CSV record’s properties—ID, name, RGB value, and transparency—as formatted JSON in a large, readable pre block. It uses plain JavaScript to import and parse the CSV via a bundled data loader, then renders the parsed object with `JSON.stringify`. The code demonstrates a minimal setup for inspecting raw dataset entries, though it does not yet implement the color wheel, similarity comparisons, or hover interactions described in the project’s goals.

AI-generated description

The Lego Colors Dataset, loaded and parsed as CSV.

This dataset contains the LEGO Parts/Sets/Colors and Inventories of every official LEGO set in the Rebrickable database. These files are current as of July 2017. If you need it to be more recent data, you can use Rebrickable’s API which provides up to date data, and additional features.

The plan is to create some sort of visualization using all the hex codes in the datset

TASKS

  1. I want to be able to visualize the colors in the dataset
  2. I want to compare color values and be able to state whether two colors are similar
  3. I want to be able to see the names of the colors in the viz
  4. I want to organize the data in a color wheel
  5. I want to create hover actions to get a better look at a color
MIT Licensed

Similar vizzes