Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lego Dataset

Public visualization

Viewing a saved revision (read-only)

98a9a128e3c84375918a51bff3a5b300

Lego Dataset

0 stars1🌍 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 Penguins Dataset, loaded and parsed as CSV.

Fork and modify this template to import your data to VizHub and export it for use in other vizzes! To do that:

  • Fork this viz
  • Clear out the README
  • Update the README with details about your dataset (including original source)
  • Replace data.csv with your own data
  • Replace the parsing logic in index.js with your own
  • Set the custom URL so you can import from it easily

Challenge

  • Find 3 datasets on a topic you are interested in
  • For each of those, fork this viz and replace the data
  • Parse the quantitative attributes into numbers
  • Update README.md to indicate the original data source