Top 10 Cosmetic Products by Revenue
✓ Published0🌍 Public
A horizontal bar chart ranks the top ten cosmetic products by revenue, from Eyeshadows at the top to Powder at the bottom. Each bar’s length encodes the dollar value, with the x-axis labeled “Reveune in Dollars.” Built with D3 v5, the visualization uses `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft`, and formats tick labels with `d3.format`. Data comes from a CSV file, rendered as SVG rects with a steelblue fill, and includes a title and gridlines via `tickSize`.
AI-generated descriptionMIT Licensed