Dataset 3 - Auto-mpg
✓ Published0🌍 Public
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 descriptionThe Auto-mpg Dataset, loaded and parsed as CSV.
Tasks
- Analyze the Relationship Between MPG and Car Attributes
- Compare fuel efficiency across cars from different origins
- Identify Outliers in Car Performance
- how fuel efficiency has changed over time (across decades or model years)
- Group cars based on attributes like weight, horsepower, and MPG to identify distinct car segments
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)
MIT Licensed