Histograms
✓ Published0🌍 Public
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 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