Skip to main content
100%

Cars Scatter Plot with D3.js!

✓ Published2🌍 Public
Fforcox43
Last edited Jul 12, 2020
Created on Jul 12, 2020

This scatter plot visualizes the relationship between horsepower and weight for cars in the UCI Machine Learning Repository’s Auto MPG dataset. Using React and D3.js, the code calls `csv` to load data and `scaleLinear`, `axisLeft`, `axisBottom`, `extent`, and `format` to render axes and circles as SVG elements. The chart includes labeled axes, gridlines via tick sizes, and semitransparent red circles, with a title displayed above the plot.

AI-generated description

This scatter plot shwos data about cares, from [UCI Machine Learning Repository: Auto MGP Data set] (https://mlr.cs.umass.edu/ml/datasets/Auto+MPG).

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes