Reusable D3 Scatter Plot submitted by Tejaswi_Tummala
✓ Published0🌍 Public
This example presents a reusable D3 scatter plot visualizing the Iris dataset, with petal width and sepal length mapped to the x- and y-axes. The plot encodes species using distinct symbols from d3.symbol and d3.scaleOrdinal. An animation cycles through four dataset columns every three seconds, updating the x-axis mapping via the chart’s accessor methods. The visualization uses d3.axisLeft, d3.axisBottom, and SVG paths, with a legend and title added programmatically.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed