Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment2_Task3

Public visualization

Viewing a saved revision (read-only)

6b7d208d2dd14efb8d33a81a255bb6ff

Assignment2_Task3

0 stars1🌍 Public
Rrikhitakoganti12
Last edited Jul 21, 2023
Created on Jul 16, 2023

This scatter plot visualizes the relationship between height and weight for men and women, using pink and blue markers to distinguish categories. Built with React and D3 v5, it loads CSV data from a GitHub gist and renders an SVG chart. The code uses `d3.csv`, `d3.scaleLinear`, `d3.extent`, `d3.axisLeft`, and `d3.axisBottom` to map values, while circles are appended via `selectAll` and `join`. Axis labels are added as SVG text elements.

AI-generated description

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

See also React Starter.