Skip to main content
100%

Cars Scatter Plot

✓ Published2🌍 Public
SSophia Murage
Last edited Apr 3, 2020
Created on Apr 2, 2020
Forked from Scatter Plot

This scatter plot visualizes the relationship between vehicle horsepower and weight using 392 cars from the auto-mpg dataset. D3’s `csv` loads and parses the data, while `scaleLinear` and `extent` map attributes to SVG coordinates. Circles with fixed radius represent each car, rendered with axes generated by `axisLeft` and `axisBottom`, including gridlines and custom labels. The visualization uses d3.v5 and an SVG rendering approach, with styles applied via CSS for opacity and typography.

AI-generated description

A program that loads and parses some CSV data: CSS Named Colors.

MIT Licensed

Similar vizzes