Skip to main content
100%

activity 8_task 1

✓ Published0🌍 Public
KKeerthiAnnem
Last edited Jul 10, 2023
Created on Jul 9, 2023
Forked from Hello VizHub

This interactive scatter plot visualizes the Iris dataset, showing the relationship between sepal and petal measurements across three species color-coded as skyblue, lightgreen, and orange. The chart cycles through different x-axis dimensions every few seconds using setInterval, updating both axes and data points. Built with D3 v6, the visualization uses scaleLinear for axis scaling, axisBottom and axisLeft for tick rendering, and a reusable scatterPlot function that accepts configurable width, height, data, and margin parameters. SVG circles represent individual flowers, with a legend and axis labels styled via CSS.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes