Skip to main content
100%

ICE 7-1 Reusable Scatter Plot

✓ Published1🌍 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
MIT Licensed

Similar vizzes