Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
CCBoton
Last edited Apr 11, 2020
Created on Apr 11, 2020
Forked from Cars Scatter Plot

This interactive scatter plot visualizes demographic and economic data for California counties, sourced from the UCI Machine Learning Repository's Auto MPG dataset. Users select a metric from a dropdown menu—such as Income, Poverty, or Employment—which reshuffles the x-axis position of each county dot. The plot uses d3.scaleLinear for the numeric x-axis and d3.scalePoint for categorical county labels, with circles rendered as SVG elements. A smooth transition.attrTween animation moves dots from the center to their new positions over two seconds. The code leverages d3.csv for data loading and d3.axisBottom/d3.axisLeft for labeled axes.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.

MIT Licensed

Similar vizzes