Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

ICE 7-1 Reusable Scatter Plot

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed