Cars Scatterplot
✓ Published1🌍 Public
This scatterplot shows the relationship between horsepower and weight for a collection of cars, with each car represented as a red, semi-transparent circle. The visualization uses D3 v5 to load the auto-mpg dataset from a CSV file, parse its numeric fields, and render the plot as SVG. The `d3.scaleLinear` and `d3.extent` functions map the data to a 960×500 canvas, with gridlines and labeled axes drawn via `d3.axisLeft` and `d3.axisBottom`. Styling is applied through CSS, including circle opacity and tick label formatting.
AI-generated descriptionMIT Licensed