Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE-7 : Reusable Scatter Plot

Public visualization

Viewing a saved revision (read-only)

8e11506078674ec4bd4bcecd7fd5001d

Fork of ICE-7 : Reusable Scatter Plot

0 stars0🌍 Public
MM Hema
Last edited Mar 28, 2024
Created on Mar 28, 2024

This example visualizes diabetes-related health metrics in a responsive scatter plot, mapping pregnancies on the x-axis, glucose levels on the y-axis, and varying symbol shapes based on skin thickness. It uses d3.scaleLinear, d3.scaleOrdinal, d3.axisLeft, d3.axisBottom, d3.symbols, and d3.symbol to generate SVG marks. The reusable chart function supports custom accessors, margins, and symbol size, drawing data from a CSV of diabetes records. The plot fills the browser window with hidden scrollbars and large axis tick text.

AI-generated description