Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot with D3.js

Public visualization

Cars Scatter Plot with D3.js

0 stars2🌍 Public
CCarloWK1202
Last edited Jul 7, 2022
Created on Jul 6, 2022

This scatter plot visualizes the relationship between miles per gallon and model year for a dataset of cars. The visualization uses red, semi-transparent circles to represent individual vehicles, with axes labeled for MPG and Year. The code leverages D3.js v7 functions including `csv` for data loading, `scaleLinear` for scaling, and `axisBottom`/`axisLeft` for axis generation. The SVG rendering includes grid lines, axis labels, and a title, with data parsed from an external CSV file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed