Skip to main content
100%

Activity 6_5_Histogram_Vizualization

✓ Published0🌍 Public
MmNamratha25
Last edited Jul 17, 2023
Created on Jul 17, 2023
Forked from Hello VizHub

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