Activity 6_5_Histogram_Vizualization
✓ Published0🌍 Public
This histogram visualizes the average Body Mass Index (BMI) grouped by age, using a dataset loaded via D3's `csv` import. The chart employs D3 v7 APIs such as `scaleLinear`, `bin`, `axisBottom`, and `axisLeft` to bin the data, compute per-bin averages, and render axes and pink rectangular bars as SVG. The visualization also uses custom `g.selectAll('rect').join('rect')` appending and includes axis labels with rotated text.
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