Cars Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the relationship between horsepower and weight for a collection of cars, with each point representing an individual vehicle. Using a red, semi-transparent circle for each data point, the chart reveals the overall correlation between these two vehicle attributes. Built with D3 v5, the visualization renders as an SVG and loads data from a CSV file. The example demonstrates the use of D3's `scaleLinear` for axis mapping, `axisLeft` and `axisBottom` for generating the plot's axes, and the `csv` function for data ingestion.
AI-generated descriptionMIT Licensed