Skip to main content
Public

Share visualization

Loading preview…

Fork of D3 Starter

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of D3 Starter

0
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

Comments

Sign in to join the discussion.

MIT Licensed