Skip to main content
100%

Dumbbell Chart

✓ Published2🌍 Public
WWaseem Medhat
Last edited Oct 23, 2020
Created on Oct 23, 2020
Forked from React Starter

This interactive scatterplot depicts alcohol consumption levels for 15 patients before and after a study, using dumbbell-style connected circles to highlight individual change. Each patient’s ID is plotted along the x-axis using `d3.scalePoint`, while alcohol measurements are mapped to the y-axis with `d3.scaleLinear`. The visualization is built with React components and rendered as SVG, employing D3’s `csv` loader for data parsing and custom `Marks` and `Lines` components to draw the paired circles and connecting lines.

AI-generated description
MIT Licensed

Similar vizzes