Skip to main content
100%

Cars scatter plot

✓ Published2🌍 Public
Eevapavlinek
Last edited Apr 7, 2020
Created on Apr 7, 2020
Forked from Scatter plot

This scatter plot shows the relationship between fuel efficiency (mpg) and horsepower for a dataset of automobiles, with each car represented as a semi-transparent green circle. The visualization uses D3 v5’s `scaleLinear`, `axisBottom`, and `axisLeft` to construct the axes and gridlines, while the data is loaded from a remote CSV using `d3.csv`. The chart includes labeled axes, a title, and margins calculated from the SVG’s dimensions, rendering all elements as SVG shapes.

AI-generated description
MIT Licensed

Similar vizzes