Cars Scatter Plot
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed