Cars Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the relationship between horsepower and weight for a dataset of cars, with each point representing an individual vehicle. The code uses D3 v5 to load CSV data from a VizHub dataset, parse numeric fields, and render an SVG visualization. It employs `scaleLinear` for both axes, `axisBottom` and `axisLeft` for tick marks, and appends circles with a fixed radius to encode the data points. The chart includes labeled axes and a title, styled with custom CSS for fonts and circle opacity.
AI-generated descriptionMIT Licensed