Skip to main content
Public

Share visualization

Loading preview…

xyz

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

xyz

0
Ssrinathkarumuru@my.unt.edu
Last edited Oct 27, 2025
Created on Oct 27, 2025

This scatter plot visualizes the relationship between a customer's annual income and their spending score, with each circle representing an individual customer. The graphic uses a green fill with partial opacity for the points, making overlapping data visible. The visualization is built with D3.js, using the `d3.scaleLinear` function to map data values to x and y coordinates, and `d3.axisBottom` and `d3.axisLeft` to render the labeled axes. The data is a small embedded JavaScript array containing customer attributes like age, income, and spending score.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed