Skip to main content
Public

Share visualization

Loading preview…

ICE 7 REUSABLE SCATTER PLOT

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

ICE 7 REUSABLE SCATTER PLOT

0
Bbhargavinalamothu@gmail.com
Last edited Apr 2, 2025
Created on Apr 2, 2025

This scatter plot visualizes the relationship between sleep hours and age for a small sample of individuals. It uses D3.js (v6) with SVG rendering, demonstrating a reusable function that accepts a selector and dataset to generate the chart. The code creates linear scales for both axes, adds labeled axes with tick marks, and renders red circles with white strokes as data points.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed