Skip to main content
100%

Fork of CARS SCUPUBOPD

✓ Published0🌍 Public
SSerena Fang
Last edited Feb 23, 2021
Created on Feb 23, 2021
Forked from CARS SCUPUBOPD

This visualization displays the relationship between horsepower and acceleration for various car models, using a scatter plot where the size of each circle encodes the vehicle’s year and the fill color encodes its weight. The data is sourced from the auto-mpg CSV dataset. The example uses D3 v5’s `scaleLinear`, `axisLeft`, `axisBottom`, and `extent` functions to construct the axes and scales, while circles are appended to an SVG with attributes for position, radius, opacity, and a dynamically computed RGB fill.

AI-generated description
MIT Licensed

Similar vizzes