Skip to main content
100%

cars scatter plot

✓ Published2🌍 Public
VVishwa246
Last edited May 5, 2020
Created on May 5, 2020

This scatter plot visualizes the relationship between horsepower and weight for cars from the auto-mpg dataset, with each point representing a single vehicle. The visualization uses D3.js version 5 to load CSV data, create linear scales for both axes, and render circles as SVG elements. Axis labels and tick marks are generated using d3.axisLeft and d3.axisBottom, while the chart includes a title and uses red semi-transparent circles to show data density. The React framework structures the page, and the code applies d3.scaleLinear with nice domain padding for cleaner axis ranges.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes