Skip to main content
100%

COSMETICS PRODUCTS

✓ Published1🌍 Public
Aadapavaishnavi12
Last edited Mar 23, 2023
Created on Mar 23, 2023
Forked from HTML Starter

This bar chart displays cosmetic product revenue in dollars, with product categories listed on the y-axis and revenue amounts on the x-axis. The visualization uses d3.scaleLinear and d3.scaleBand to map data values to pixel coordinates, with d3.axisBottom and d3.axisLeft generating the axes. Data is loaded from a CSV file hosted on GitHub via d3.csv, and the chart renders as SVG rectangles filled pink, with formatting applied through d3.format to display values in billions.

AI-generated description

ICE-6

MIT Licensed

Similar vizzes