Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 7 REUSABLE SCATTER PLOT

Public visualization

Viewing a saved revision (read-only)

5c0a98e7a95c4b8cbde5cd9909299410

ICE 7 REUSABLE SCATTER PLOT

0 stars0🌍 Public
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