Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This fork of a reusable D3 scatter plot visualizes the Iris Dataset, revealing relationships between measurements like petal width and sepal length. It cycles through four column pairs every two seconds, animating the x-axis and repositioning circles via setInterval. The chart uses d3.scaleLinear for scaling, d3.axisLeft and d3.axisBottom for axes, and d3.selectAll with data joins to update SVG circles. The code loads CSV data via d3.csv and applies a custom margin and radius, with the full viewport as the rendering area.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed