Skip to main content
100%

ICE-6 (Marks and Channels) - Scatter Plot

✓ Published0🌍 Public
NNaveen Kumar
Last edited Mar 29, 2023
Created on Mar 23, 2023
Forked from HTML Starter

This scatter plot visualizes the Iris dataset, mapping petal length and width for individual flowers while encoding species identity through circle fill colors (blue, yellow, or red). The SVG rendering uses d3.scaleLinear to establish x and y axes, with d3.axisLeft and d3.axisBottom providing tick marks. Data loads asynchronously via d3.csv, and circles are joined to the DOM using selection.join. The code also stores sepal measurements as unused circle radii properties, while axis labels appear rotated and positioned via SVG text elements.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes