🌍 Public
Viewing a saved revision (read-only)
05e1becb9dbd4b4dbd24989a0b3c8d14
Task2 ICE6 Scatter Plot
Ddineshtadepalli12
Last edited Mar 8, 2022
Created on Mar 8, 2022
Forked from ICE 6, task 2 - Scatter Plot Using Iris dataset
This visualization is a scatter plot that displays the relationship between petal length and sepal length for iris flowers. Each dot represents a single flower, with its horizontal position determined by petal length and vertical position by sepal length. The plot renders as an SVG using D3's `scaleLinear` for axis scaling and `axisLeft`/`axisBottom` for tick marks. Data is loaded asynchronously from a CSV file via `d3.csv`. The code uses the `select` and `join` API to create circle elements, and labels are positioned with SVG `text` elements.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.