Skip to main content
100%

Scatter Plot

✓ Published2🌍 Public
ZZ-Richard
Last edited Jun 14, 2020
Created on Jun 14, 2020

This scatter plot visualizes the relationship between horsepower and weight for various car models, with each circle representing a vehicle. The data is loaded from a CSV file containing automotive specifications (auto-mpg dataset) and rendered as an SVG graphic using D3 v5. The code employs `d3.scaleLinear` for both axes, `d3.extent` to compute data domains, and `d3.axisBottom` and `d3.axisLeft` for axis generation with grid lines. Semi-transparent steel-blue circles highlight data density, while axis labels and a title provide context.

AI-generated description
MIT Licensed

Similar vizzes