Penguins Dataset
✓ Published1🌍 Public
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 descriptionMIT Licensed