Skip to main content
100%

CSV Dataset Template - Penguins

✓ Published67🌍 Public
CCurran Kelleher
Last edited Mar 22, 2025
Created on Jan 17, 2024

This visualization displays the first record from the Palmer Penguins dataset, a CSV file containing measurements of bill length, bill depth, flipper length, and body mass for three penguin species across multiple Antarctic islands. The code imports the data using VizHub’s built-in CSV loader, then coerces the quantitative attributes from strings to numbers with the unary plus operator. The parsed JSON output is rendered inside an HTML `<pre>` element, demonstrating the data structure for verification before further visualization. The example serves as a template for importing and parsing custom datasets in VizHub.

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
MIT Licensed

Similar vizzes