Skip to main content
100%

Fork of D3 Starter

✓ Published0🌍 Public
SSanjayRamaSwamyAdla@my.unt.edu
Last edited Mar 9, 2026
Created on Mar 9, 2026
Forked from D3 Starter

This example shows the relationship between height and weight for ten individuals using a scatterplot, with each circle positioned by two linear scales mapping height to the x-axis and weight to the y-axis. The chart includes labeled axes for height in centimeters and weight in kilograms, as well as a title, all rendered as SVG elements. The code uses D3 v7 functions such as `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft` to construct the visualization, with hardcoded data defined in an array. The SVG canvas is set to fixed dimensions with margins for the axes and labels.

AI-generated description
MIT Licensed

Similar vizzes