Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Vamsi_Reusable Scatter plot

Public visualization

Vamsi_Reusable Scatter plot

0 stars0๐ŸŒ Public
Vvamsikrishnakanchukommala@my.unt.edu
Last edited Apr 22, 2024
Created on Apr 22, 2024

This interactive scatter plot visualizes the Iris dataset, animating through four different attribute combinations on the x-axis while keeping sepal length on the y-axis. The visualization cycles through petal width, sepal width, petal length, and sepal length using a setInterval function that updates the D3 scaleLinear axes and circle positions. The code uses D3 v6 APIs including csv for data loading, scaleLinear, axisLeft, axisBottom, and selection joins to render SVG circles colored by species. A custom scatterPlot function makes the chart reusable across different data mappings.

AI-generated description

A demonstration of reusable scatter plot.

Comments

Sign in to join the discussion.

MIT Licensed