Skip to main content
100%

assign

✓ Published1🌍 Public
Vvaishnavi6gan@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024

This example displays the raw first row of the Palmer Penguins dataset as formatted JSON. The code imports the CSV file, converts quantitative fields like bill length and body mass to numbers, and renders the parsed object in a styled `<pre>` element. It demonstrates a minimal data-loading and parsing workflow for VizHub, using the built-in CSV import and template literal syntax to display the structured data.

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