🌍 Public
Viewing a saved revision (read-only)
d66d20c6c5a24f21a043a11f6c55e8a0
Fork of Cars Scatter Plot for menu TEST
This D3.js (v5) visualization renders the classic Iris flower dataset as a scatter plot, displaying sepal length against sepal width. A dropdown menu above the chart offers "Sepal" and "Petal" options, which currently only log selections to the console. The plot uses `d3.scaleLinear` for axes, which are rendered with `d3.axisLeft` and `d3.axisBottom`. Data is loaded from a local CSV file, and circles are appended directly to an SVG element, with the `d3.select` API managing the SVG and menu interactions.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.