Skip to main content
100%

Histograms

✓ Published0🌍 Public
SSwapna1915
Last edited Jun 14, 2023
Created on Jun 14, 2023
Forked from Hello VizHub

A scatterplot-like histogram visualizes average Body Mass Index by age, using binned rectangles to group individuals and display the mean BMI per age bracket. The chart loads CSV health data from GitHub and uses D3 v7 APIs including `d3.bin` for histogram generation, `d3.scaleLinear` for both axes, and `d3.axisLeft`/`d3.axisBottom` for labeled tick marks. SVG rendering applies a green fill to rectangles with white strokes, while axis labels and a title clarify the data relationship.

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