Skip to main content
100%

Cars scatter plots

✓ Published1🌍 Public
TTimothy sit
Last edited Dec 28, 2020
Created on Dec 28, 2020
Forked from Scatter plots

This scatter plot visualizes the relationship between horsepower and weight for cars, with each circle representing a vehicle. The data is loaded from a CSV file and rendered as an SVG using D3 v6. The code employs `d3.scaleLinear` for both axes, `d3.axisLeft` and `d3.axisBottom` for ticks, and `d3.extent` to compute domains. Axis labels and a title are added as SVG text elements, while circles use a fixed radius with steelblue fill and partial opacity.

AI-generated description
MIT Licensed

Similar vizzes