Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE - 6 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

2ef83294923c42158509dd00f293b7a0

Fork of ICE - 6 Scatter Plot

0 stars1🌍 Public
KKeerthipriyaBankuru
Last edited Jun 25, 2022
Created on Jun 25, 2022

This visualization displays the Iris dataset as a scatter plot, mapping petal length on the x-axis and petal width on the y-axis, with points colored by species (setosa, virginica, and versicolor). It uses d3.csv to load the data, d3.scaleLinear for axes, and d3.axisLeft and d3.axisBottom to render the scales. Circles are drawn with SVG via d3.selectAll and .join, with dimensions derived from sepal length and width for additional context. The code runs in a vanilla HTML page with D3 v6, using window dimensions for a full-screen responsive layout.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.