Skip to main content
100%

Scatterplot of Breast Cancer

✓ Published0🌍 Public
RRidhima Saxena
Last edited Oct 23, 2021
Created on Oct 14, 2021

This scatterplot shows the relationship between clump thickness and cell size in the Breast Cancer dataset, with each point representing a sample. The code loads the CSV data from a GitHub gist using `d3.csv`, parses the numeric fields, and maps them to x and y positions via `d3.scaleLinear` with an auto-computed extent. Circles are rendered as SVG elements, and axes are added using `d3.axisLeft` and `d3.axisBottom`. The visualization fills the browser window, with margins and a fixed point radius, demonstrating a basic D3 v6 data-joining workflow.

AI-generated description

This visualization is a D3 scatterplot of cell thickness vs. cell size from the Breast Cancer dataset.

MIT Licensed

Similar vizzes