Skip to main content
100%

Penguins Dataset

✓ Published1🌍 Public
SSubhendu Karmakar
Last edited Jan 31, 2024
Created on Jan 31, 2024
Forked from HTML Starter

This example displays the first row of the Palmer Penguins dataset as formatted JSON in a large monospace font. The code imports the data from a CSV file using a custom `import data from './data.csv'` statement, then converts each measurement column to a number with unary plus operators. The `main` function renders the JSON stringified object into an HTML `<pre>` element. The primary API used is `JSON.stringify` to serialize the data object, while the export `{ data }` makes the full dataset available externally.

AI-generated description
MIT Licensed

Similar vizzes