🌍 Public
Viewing a saved revision (read-only)
4e51cb7d97ff4262a77b88f104b44cbf
Activity7_Q2
This visualization displays the distribution of BMI values across age groups from a diabetes dataset, distinguishing between normal and high BMI categories. The interactive chart uses D3.js to render a blue gradient area plot with smooth Catmull-Rom curves, complemented by gridlines and labeled axes. As users move their cursor across the chart, a dashed hover line, circular marker, and tooltip dynamically appear to reveal the exact age, BMI value, and category of the nearest data point. The data is loaded remotely via d3.csv and processed with d3.bisector for efficient mouse position lookups.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.