Skip to main content
100%

Fork of Dumbbell Chart

✓ Published0🌍 Public
Bblueyjuice
Last edited Nov 27, 2021
Created on Nov 27, 2021
Forked from Dumbbell Chart

The chart compares alcohol consumption before and after an intervention for individual patients, with paired circles connected by vertical lines. It uses React components for rendering SVG marks, axes, and grid lines, while D3 v6 utilities such as `scaleLinear`, `scalePoint`, and `extent` handle scaling and domain calculation. Data is loaded asynchronously from a CSV URL via `d3.csv` and filtered to 15 patients. The visualization employs a dumbbell chart layout to highlight changes per patient, with green and orange circles representing before and after values respectively.

AI-generated description
MIT Licensed

Similar vizzes