Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
CConnor Trump
Last edited Oct 10, 2021
Created on Oct 10, 2021
Forked from Scatter Plot

This scatter plot visualizes the relationship between vehicle weight and horsepower for a dataset of cars, with each point representing an individual model. The visualization uses D3.js v7 with a React framework and SVG rendering to draw semi-transparent blue circles on a Cartesian grid. Axis labels and tick marks are rendered using D3’s `axisLeft` and `axisBottom` functions, with gridlines extending across the plot. Data is loaded from a CSV file via `d3.csv` and parsed into numeric values before scaling with `scaleLinear`.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes