Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Kraft Curve August 2022

Public visualization

Viewing a saved revision (read-only)

d6b6008f916f4015ba6dd561bc37fdef

Kraft Curve August 2022

0 stars0🌍 Public
DDave Landy
Last edited Aug 16, 2022
Created on Aug 16, 2022

This visualization plots a Kraft curve, showing insulin and glucose levels over time for a named patient from the Meterbolic organization, with data loaded from raw CSV on GitHub. The chart renders a black-background SVG component with two monotone-smoothed polylines, one green for insulin and one yellow for glucose, alongside labeled axes that use custom styling for dark-mode legibility. The interface includes a rescaling control for the insulin axis, a dropdown to select different individuals, and buttons to toggle a red area overlay beneath the insulin curve. The code is structured entirely with D3 v7 APIs, including `d3.line`, `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft`, and uses data filtering and DOM event handlers to manage interactivity.

AI-generated description