Activity7(q-2)
✓ Published0🌍 Public
This interactive scatterplot displays the relationship between age and BMI from a diabetes dataset. The visualization uses a gradient-filled area chart with smooth Catmull-Rom curves to show BMI distribution across age groups, with a tooltip that appears on hover. Built with D3.js, it employs a bisector for efficient data lookup, linear scales, and responsive hover elements including a dashed line and marker. The SVG rendering includes gridlines, axis labels, and a color-coded BMI category indicator that distinguishes between normal and high values.
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.
MIT Licensed