Skip to main content
100%

Cars Scatter Plot

✓ Published2🌍 Public
NNkwachi Abel
Last edited May 25, 2022
Created on May 25, 2022

This scatter plot shows the relationship between vehicle weight and horsepower for a dataset of cars, with each point representing an individual car model. The visualization uses D3 v5’s `csv` loader to fetch data from an external URL, then applies `scaleLinear` and `extent` to map the variables to SVG coordinates. Axes are rendered using `axisBottom` and `axisLeft`, with tick marks extending across the plot area. The SVG circles are styled with red fill and opacity, and axis labels and a title are added via SVG text elements.

AI-generated description
MIT Licensed

Similar vizzes