Skip to main content
100%

cars scatter plot

✓ Published2🌍 Public
Jjingwg3@163.com
Last edited Sep 20, 2022
Created on Sep 20, 2022
Forked from scatter plot

This scatter plot shows the relationship between horsepower and weight for a dataset of cars, with each point representing a vehicle. The visualization uses D3.js (v5) to load CSV data and render an SVG chart with linear scales for both axes. The code employs `scaleLinear`, `axisBottom`, `axisLeft`, and `extent` functions to construct the plot, with circles colored red and semi-transparent. Axis labels, a title, and grid lines are included via D3 axis methods and appended text elements.

AI-generated description
MIT Licensed

Similar vizzes