Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
Lloicvdk
Last edited Aug 4, 2020
Created on Jul 22, 2020
Forked from Customizing Axes

A scatter plot displays the relationship between horsepower and weight for individual cars, with each circle representing a car model. The visualization uses D3 v5’s `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `csv` to load and map data from an auto-mpg dataset. Points are rendered as SVG circles with partial opacity, and the chart includes labeled axes, grid lines, and a title. The code runs within a React starter framework and draws to an SVG element using margins for layout.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes