Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars scatter plot

Public visualization

Cars scatter plot

0 stars1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed