Nikita's Reusable D3 Scatter Plot
✓ Published0🌍 Public
This reusable scatter plot visualizes the Iris dataset, mapping sepal and petal measurements to x and y axes with species-based color encoding. The example demonstrates a customizable D3 chart factory using `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.axisBottom`/`d3.axisLeft`. It includes a legend and a two-second animation interval that cycles through different measurement columns, updating the plot dynamically. The visualization uses SVG rendering with D3 v6 and loads data from a remote CSV.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed