Cars Scatter Plot
✓ Published0🌍 Public
This scatter plot shows the relationship between vehicle weight and horsepower for 25 car models, with each point representing a car from the dataset. The visualization uses D3 v5 to render SVG circles, with weight on the x-axis and horsepower on the y-axis. The code employs d3.scaleLinear, d3.extent, and d3.axisBottom/axisLeft to create scales and axes, while d3.format customizes the tick labels to abbreviate large numbers. The chart includes grid lines, axis labels, and a title, with data loaded from a CSV file via d3.csv.
AI-generated descriptionMIT Licensed