Skip to main content
Public

Share visualization

Loading preview…

Cars Scatter Plot

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Cars Scatter Plot

2
NNeepaB
Last edited Dec 15, 2020
Created on Dec 15, 2020
Forked from Scatter Plot

This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Machine Learning repository’s auto-mpg dataset. Each red, semi-transparent circle represents a car, positioned by its horsepower on the x-axis and weight on the y-axis, with a dashed grid from the axis tick marks. Built with D3 v5 and rendered as SVG, the code uses `scaleLinear`, `extent`, `axisBottom`, and `axisLeft` to map the data and draw labeled axes. The plot is generated by fetching the CSV and converting its numeric fields before rendering.

AI-generated description

This scatter plot shows data about cars , from UCI Machine learning repository

Comments

Sign in to join the discussion.

MIT Licensed