Fork of Dumbbell Chart
✓ Published0🌍 Public
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 descriptionMIT Licensed