Skip to main content
100%

AnithaShivaramaih(11537410) - ICE-6 Scatter Plot

✓ Published0🌍 Public
AAnitha Shivaramaiah
Last edited Mar 29, 2023
Created on Mar 24, 2023
Forked from HTML Starter

This scatter plot visualizes the Iris dataset, displaying the relationship between petal length and petal width for three species of iris flowers. Each flower is represented as a colored dot, with yellow, pink, and purple distinguishing Iris-setosa, Iris-virginica, and Iris-versicolor respectively. The plot uses D3 v6's scaleLinear function to map the data coordinates to screen space, with axes generated by axisLeft and axisBottom. The visualization also includes additional encoded attributes, as the circles have rx and ry values set from sepal measurements, though these do not affect the standard circle rendering. Data is loaded from a remote CSV file using D3's csv function, and SVG elements are rendered directly to the browser window.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes