Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Cars Scatter Plot

Public visualization

Cars Scatter Plot

0 stars0๐ŸŒ Public
Eegrebing
Last edited Sep 21, 2020
Created on Sep 21, 2020

This scatter plot visualizes the relationship between vehicle weight and fuel efficiency (MPG) for a dataset of cars, with points colored by country of origin (USA, Japan, Germany). The D3 v6 code uses `scaleLinear` for both axes, `scaleOrdinal` for color mapping, and `axisLeft`/`axisBottom` with gridlines to render the plot into an SVG canvas. Data is loaded asynchronously from a CSV file using the `csv` function, and point styling includes a dark gray stroke and semi-transparency.

AI-generated description

An example including some commonly used features of SVG.

Comments

Sign in to join the discussion.

MIT Licensed