Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

question3

Public visualization

Viewing a saved revision (read-only)

280dcc2480de40df8bf24693cb8543e3

question3

0 stars0🌍 Public
Rravularasesh3102@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024

This scatter plot visualizes the relationship between height and weight, with data points colored by category (A, B, or C) from the IRIS dataset, which is loaded via `d3.csv`. It uses `d3.scaleLinear` for the x- and y-axes, rendered using `axisBottom` and `axisLeft` in an SVG. Points are drawn as circles positioned using `cx` and `cy` attributes, colored by a custom marker function. Axis labels are styled with CSS, and the chart fills the browser window with margins for the title and axes.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.