Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Dataset 3 - Auto-mpg

Public visualization

Viewing a saved revision (read-only)

06401f0299dd4f60825133330f48a2ee

Dataset 3 - Auto-mpg

0 stars0🌍 Public
YYiyi Wu
Last edited Sep 11, 2024
Created on Sep 9, 2024

This example loads the Auto-mpg dataset from a CSV file and displays the first record as a JSON object in a preformatted block. The code uses the native `JSON.stringify` method and template literals to render the data, setting a large font size for readability. The dataset includes car specifications such as mpg, cylinders, horsepower, weight, and origin, sourced from the UCI Machine Learning Repository. The visualization provides a simple, raw preview of the data structure rather than an interactive chart.

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