Skip to main content
100%

Fork of CSV Dataset Template - Penguins

✓ Published0🌍 Public
LLuca Liverani
Last edited Jul 28, 2024
Created on Jul 28, 2024

This example displays the first row of a penguin dataset as formatted JSON, demonstrating how CSV data is parsed and prepared for visualization. The code loads the data from `data.csv`, converts measurement columns like `bill_length_mm` and `body_mass_g` from strings to numbers, and then uses the `main` function to render the JSON string into the container. The dataset originates from the palmerpenguins GitHub repository, and the example uses D3.js conventions for data import and processing.

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