Skip to main content
100%

Fork of ICE-7 : Reusable Scatter Plot

✓ Published0🌍 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
MIT Licensed

Similar vizzes