Cars Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the relationship between horsepower and weight for various car models, with each point colored by the number of cylinders. Users can click the color legend to filter the display, highlighting cars with a specific cylinder count while dimming others. The visualization uses d3.scaleOrdinal with the schemeSpectral color palette for categorical encoding, and renders axes with d3.axisBottom and d3.axisLeft. Data is loaded from an auto-mpg.csv file, with all numeric fields parsed as numbers, and the chart is drawn as SVG.
AI-generated descriptionThis scatter plot shows data about cars
MIT Licensed