Skip to main content
100%

HW Colored Scatter Plot With Interactive Filtering

✓ Published1🌍 Public
YYF
Last edited Nov 8, 2018
Created on Oct 1, 2018
Forked from Cars Scatter Plot

This scatter plot visualizes the correlation between car horsepower and weight, with points colored by country of origin using the D3 ordinal color scale `d3.scaleOrdinal` and `d3.schemeDark2`. Users can click a legend item to filter the displayed points, dimming all other categories. The visualization is rendered as an SVG using D3 v5, with axes and scales built via `d3.axisBottom` and `d3.axisLeft`, and data loaded from the UCI Auto MPG dataset.

AI-generated description

This scatter plot shows the correlation between car horsepower and car weight, categorized by car origin, from UCI Machine Learning Repository: Auto MPG Data Set.

MIT Licensed

Similar vizzes