Skip to main content
100%

vega lite

✓ Published0🌍 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.

MIT Licensed

Similar vizzes