Skip to main content
100%

Fork of Activity_7_Q2

✓ Published1🌍 Public
GGOPI MUPPURI
Last edited Nov 5, 2024
Created on Nov 4, 2024
Forked from Activity_7_Q2

This visualization displays the relationship between age and BMI, using a gradient-filled area chart with interactive hover effects. It highlights data points categorized as "High" or "Normal" BMI, and the hover interaction reveals a tooltip with age, BMI, and category details. Built with D3.js (v7.8.5), the code fetches a CSV from a GitHub gist and uses scales, axes, gridlines, and a Catmull-Rom curve for smoothing. An invisible overlay rectangle enables mouse tracking, which drives the tooltip, a dashed hover line, and a marker circle.

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