Skip to main content
100%

Yifu's Car Scatter Plot

✓ Published1🌍 Public
YYifu Chen
Last edited Dec 25, 2019
Created on Dec 25, 2019

This scatter plot visualizes the relationship between horsepower and weight for cars from the Auto MPG dataset. Each circle represents a car, with its position determined by the x- and y-scales derived from the data’s extent. Built with D3 v5, the SVG rendering uses `select`, `csv`, `scaleLinear`, `extent`, and axis functions (`axisLeft`, `axisBottom`) to generate labeled axes with tick marks and a title. The chart displays a negative correlation, as lighter cars tend to have lower horsepower. Styling uses CSS for circle opacity, font size, and background color.

AI-generated description

Yifu's simple bar chart

I created the visualization following this tutorial.

Data source: UCI Machine Learning Repository: Auto MPG Data Set.

Dec. 24, 2019

MIT Licensed

Similar vizzes