Skip to main content
100%

Activity7(q-2)

✓ Published0🌍 Public
Rrakshithareddy217@gmail.com
Last edited Nov 5, 2024
Created on Nov 5, 2024
Forked from Hello VizHub

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 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