Activity 7.1 - Q2
✓ Published0🌍 Public
This example visualizes the relationship between age and BMI, using an interactive line chart with a green gradient area fill to show the trend and a hover effect to display detailed data points. It loads data from a GitHub-hosted CSV file and uses D3's scales, area generator, and bisector to map the data, while the tooltip and hover interactions are driven by D3's pointer event handling. The visualization is rendered as an SVG with a clean layout, axis labels, and gridlines.
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