Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

7-q2

Public visualization

Viewing a saved revision (read-only)

ae8d33a7155744ceb495ee3ae06e8c04

7-q2

0 stars0🌍 Public
Nnikhithaaitha22@gmail.com
Last edited Nov 6, 2024
Created on Nov 6, 2024

This visualization displays the relationship between age and BMI in a diabetic patient dataset, using a semi-transparent steel-blue area chart to emphasize the distribution of BMI values across different ages. The SVG-based chart, built with D3 v7, loads data from a remote CSV file and uses `d3.scaleLinear` for both axes, `d3.area` to generate the filled region, and `d3.axisBottom` and `d3.axisLeft` to render labeled axes for Age and BMI respectively.

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.