Skip to main content
100%

Cars Scatterplot

✓ Published0🌍 Public
Ccguibourg
Last edited Oct 25, 2019
Created on Oct 25, 2019
Forked from Customizing Axes

This scatterplot visualizes the relationship between horsepower and weight for cars from the UCI Auto MPG dataset, with each point representing a car model. The plot uses D3.js version 5 with a linear scale for both axes, goldenrod semi-transparent circles, and labeled axes for horsepower and weight. The code leverages D3’s `scaleLinear` for scaling, `axisLeft` and `axisBottom` for coordinate axes, and `csv` to load data from the remote dataset, then converts numeric fields to numbers before rendering.

AI-generated description

This scatterplot shows data about cars from UCI Machine Learning Repository: Auto MPG Data Set

MIT Licensed

Similar vizzes