Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

vega lite

Public visualization

Viewing a saved revision (read-only)

498f2cbb78b246f588456cb2c469c382

vega lite

0 stars0🌍 Public
Ttknaik
Last edited Oct 22, 2021
Created on Oct 22, 2021
Forked from Cars Scatter Plot

This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Auto MPG dataset. The code uses D3.js v5 to load CSV data, apply linear scales with `scaleLinear`, and render SVG circles with red, semi-transparent fills. It constructs axes with `axisBottom` and `axisLeft`, including grid lines and custom positioning for labels like "Horsepower" and "Weight." The layout applies explicit margins and a title above the chart.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.