Activity_7_Q2
✓ Published0🌍 Public
This visualization displays BMI distribution across age groups using a smooth area chart with interactive hover effects. The D3.js code loads CSV data, processes BMI values into High and Normal categories, and renders an SVG with gradient-filled areas. Users can hover to see a dashed line, circular marker, and tooltip showing age, BMI, and category. The implementation uses d3.area, d3.scaleLinear, d3.bisector, and d3.axisBottom/axisLeft for the chart structure.
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