Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot

Public visualization

Cars Scatter Plot

0 stars2🌍 Public
Aanuj1450
Last edited Nov 2, 2020
Created on Nov 2, 2020
Forked from Scatter Plot

This scatter plot visualizes the relationship between horsepower and weight for a dataset of cars, sourced from the auto-mpg CSV file. Each red, semi-transparent circle represents a car, with its position determined by the d3.scaleLinear scales mapping weight to the x-axis and horsepower to the y-axis. The code uses d3.csv to load data, d3.axisBottom and d3.axisLeft to render gridlines and tick labels, and SVG circles within a margin-based layout. Axis labels and a title are appended as text elements, with styling defined in CSS.

AI-generated description

This scatter plot shows data about cars.

Comments

Sign in to join the discussion.

MIT Licensed