Skip to main content
100%

Fork of Fork 11

✓ Published0🌍 Public
Llakshmisurekhamaddukuri@my.unt.edu
Last edited Apr 10, 2025
Created on Apr 10, 2025
Forked from Fork 11

This bar chart visualizes the relationship between daily water consumption and average sleep quality, with bars sorted by sleep quality in ascending order. The visualization uses D3.js v7 APIs including `d3.scaleBand`, `d3.scaleLinear`, and `d3.axisBottom` to render the SVG chart. Data is loaded via `d3.tsv` from a remote CSV file, then processed with `d3.rollups` to group and average sleep quality by water consumption category. Interactive tooltips appear on hover, displaying the specific water consumption level and corresponding sleep quality score.

AI-generated description
MIT Licensed

Similar vizzes