Skip to main content
100%

A1c Chart

✓ Published0🌍 Public
YYoung Song
Last edited Jul 7, 2022
Created on Jun 24, 2022

This chart displays monthly A1c blood sugar levels across a year, with each month plotted as a circle and labeled with its value. Values are color-coded as in-range (teal) or out-of-range (gray) based on a target band highlighted across the chart. The visualization also includes axes, a target range legend, and an A1c category key. Built with D3 v5, it uses `select`, `csv`, `scalePoint`, `scaleLinear`, `axisLeft`, and `axisBottom` to load data from `data.csv` and render an SVG with custom grid lines and labels.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

MIT Licensed

Similar vizzes