Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

star dataset

Public visualization

Viewing a saved revision (read-only)

5deacbc4dac94ad18bd6690210cf0487

star dataset

0 stars1🌍 Public
PParth Shroff
Last edited Dec 10, 2024
Created on Sep 5, 2024

This example visualizes the first row of the Stars Dataset from Kaggle, showing parsed values for attributes like Distance_ly, Luminosity, Radius, and Temperature_K. The code loads CSV data, coerces numeric fields with unary plus operators, and displays a single record as formatted JSON in a pre element. It uses plain JavaScript with inline template literals to set the container’s innerHTML, and exports the parsed data array for further use in a visualization gallery context.

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