Fork of Cars Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Auto MPG dataset. Red semi-transparent circles represent individual vehicles, with each dot positioned along linear scales for both axes. The visualization uses D3 v7’s `scaleLinear`, `axisLeft`, and `axisBottom` to construct the chart, including grid lines and labeled axes. The code references a CORS proxy to fetch data from an external CSV URL and includes commented-out Iris dataset loading, though the active render function processes car data. The SVG output is styled with custom fonts and margins.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.
MIT Licensed