Fork of CSV Dataset Template - Penguins
✓ Published0🌍 Public
This example demonstrates how to load and parse the Palmer Penguins dataset, converting quantitative attributes like bill length and body mass into numeric values. The code displays the first data row as a JSON object in a preformatted text block, using the parsed CSV data imported directly from `data.csv`. The parsing logic iterates through each data entry, applying the unary plus operator to convert measurement columns from strings to numbers. The visualization relies on the imported dataset and the `main` export function to render the structured output to the container.
AI-generated descriptionThe 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.csvwith your own data - Replace the parsing logic in
index.jswith 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.mdto indicate the original data source
MIT Licensed