Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
Ssrrajendran
Last edited Nov 7, 2018
Created on Oct 3, 2018
Forked from Cars Scatter Plot

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 description

This scatter plot shows data about cars

MIT Licensed

Similar vizzes