Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 7-1 Reusable Scatter Plot

Public visualization

Viewing a saved revision (read-only)

1d1ad801222144eba7f652f93344c8f5

ICE 7-1 Reusable Scatter Plot

0 stars1🌍 Public
VVenkat-Dhulipalla
Last edited Mar 24, 2023
Created on Mar 24, 2023

A reusable scatter plot displays the Iris dataset with petal width and sepal length on the axes. The SVG visualization uses D3 v6 API methods including `scaleLinear`, `scaleOrdinal`, `axisLeft`, and `axisBottom` to render scales, axes, and data points as distinct symbol shapes per species. The plot dynamically cycles through different data columns every ten seconds, updating the x-axis and point positions via `setInterval`. Data loads from a CSV file, and the chart is built using a custom reusable function pattern.

AI-generated description