Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars scatter plot

Public visualization

Cars scatter plot

0 stars2🌍 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

Comments

Sign in to join the discussion.

MIT Licensed