Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot

Public visualization

Cars Scatter Plot

0 stars1🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed