Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cosmetic Scatter Plot

Public visualization

Cosmetic Scatter Plot

0 stars0🌍 Public
Ddeepthiv.4706@gmail.com
Last edited Apr 2, 2025
Created on Apr 2, 2025
Forked from activity7

A cosmetic product scatter plot visualizes the relationship between customer ratings (on the x-axis, 0–5) and price in USD (on the y-axis), for a dataset loaded via `d3.csv` from a GitHub gist. Each blue dot represents a product, with hover interactions changing the dot’s fill color and stroke width, and tooltips showing brand, rating, and price. Built with D3 v7, the SVG uses `scaleLinear` for both axes, `axisBottom` and `axisLeft` to render ticks, and appended circle elements with `title` nodes for tooltips. The chart highlights how price and perceived quality correlate across cosmetics brands.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed