Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This is an animated scatter plot that visualizes the Iris Dataset, cycling through different pairs of measurements (petal width, sepal width, petal length, sepal length) every two seconds. It uses D3 v6 for rendering SVG circles and axes, with the `scatterPlot` function as a reusable chart component. The plot updates its x-axis encoding based on a rotating column list, leveraging D3's `scaleLinear`, `axisLeft`, and `axisBottom` APIs. Data is loaded from a CSV file, and the visualization fills the entire browser window.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed