🌍 Public
Viewing a saved revision (read-only)
4123d1b2411f42b3aa26c313a680d322
Beauty Product Sales Scatter Plot
This scatter plot visualizes the relationship between units sold and revenue for various beauty products, with each circle labeled to identify its product name. The visualization uses the D3.js library (v5) within a React framework, rendering as an SVG. It reads data from a CSV file, scales the axes using `d3.scaleLinear` for both variables, and employs `d3.axisBottom` and `d3.axisLeft` to create the coordinate system. Data points are drawn as circles with `d3.selectAll` and appended with `.enter()`, and product names are added as text labels positioned next to each point.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.