Skip to main content
100%

Cars scatter plot

✓ Published1🌍 Public
VVlad Bogo
Last edited Dec 8, 2020
Created on Dec 7, 2020
Forked from Scatter plot

This scatter plot of cars from the auto-mpg dataset shows the relationship between weight and horsepower for individual vehicles, with each circle representing a car. D3.js v5 scales the data to fit the SVG canvas, and axis generators draw labeled tick marks with gridlines. The code loads the CSV data with `d3.csv`, converts numeric fields, and renders the circles using a linear scale for both axes, with the title and axis labels added as SVG text.

AI-generated description
MIT Licensed

Similar vizzes