Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot

Public visualization

Viewing a saved revision (read-only)

8915b48032b54c5b84538fceb6c2a6f8

Cars Scatter Plot

0 stars0🌍 Public
Aadvaitkulkarni08
Last edited Dec 31, 2019
Created on Dec 31, 2019
Forked from Cars Scatter Plot

This scatter plot displays the relationship between vehicle weight and horsepower for a dataset of cars. Each semi-transparent steel-blue circle represents a single car model, with the chart titled "Horsepower vs Weight." The visualization uses D3 v5 APIs including `scaleLinear`, `axisBottom`, `axisLeft`, and `extent` to compute scales and render SVG axes. Data is loaded via `csv()` from the auto-mpg dataset, with numeric fields parsed before rendering. Grid lines are created through axis tick sizing, and axis labels are added as SVG text elements.

AI-generated description