🌍 Public
Viewing a saved revision (read-only)
498f2cbb78b246f588456cb2c469c382
vega lite
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 descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.