🌍 Public
Viewing a saved revision (read-only)
f39d03412c4d4c97bc72f6b5166ceeab
Cosmetic Scatter Plot
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