Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable D3 Scatter Plot of symbol

Public visualization

Reusable D3 Scatter Plot of symbol

0 stars0🌍 Public
AAnshul Rawat
Last edited Jan 17, 2024
Created on Jan 17, 2024

This reusable D3 scatter plot visualizes the Iris dataset, cycling through four flower measurements every two seconds to show different variable relationships. The SVG renders circles with animated position updates via a custom scatterPlot function that handles scales, axes, and marks. It uses d3.scaleLinear, d3.extent, d3.axisLeft, and d3.axisBottom, with data loaded from a CSV and parsed numerically. The code demonstrates a functional pattern for reusable chart components, updating x-values dynamically to animate transitions between sepal and petal dimensions.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed