Skip to main content
100%

Activity_7_Q2

✓ Published0🌍 Public
GGOPI MUPPURI
Last edited Nov 5, 2024
Created on Nov 5, 2024

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes