Skip to main content
100%

ICE-6

✓ Published0🌍 Public
AAparna Desi Reddy
Last edited Mar 6, 2026
Created on Mar 6, 2026
Forked from HTML Starter

This visualization is a bar chart displaying the top 20 products by revenue (USD) from a product sales dataset. Built with D3.js v7 and SVG rendering, it sorts the data by revenue and encodes product names on the x-axis and revenue on the y-axis using `scaleBand` and `scaleLinear`. Bars are appended as SVG rects and axes are drawn with `d3.axisBottom` and `d3.axisLeft`. The chart includes rotated product labels and axis titles, with hover effects that change bar color.

AI-generated description
MIT Licensed

Similar vizzes