Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Dataset 3 - Auto-mpg

Public visualization

Viewing a saved revision (read-only)

1f79e0e6ee8b4b6f9c7678fde9dc3d39

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 Auto-mpg Dataset, loaded and parsed as CSV.

Dataset Introduction

The data is technical spec of cars. The dataset is downloaded from UCI Machine Learning Repository

Dataset Description

  • mpg: continuous
  • cylinders: multi-valued discrete
  • displacement: continuous
  • horsepower: continuous
  • weight: continuous
  • acceleration: continuous
  • model year: multi-valued discrete
  • origin: multi-valued discrete
  • car name: string (unique for each instance)