🌍 Public
Viewing a saved revision (read-only)
f03bfe1c2be54a50a33884484c4d244a
Stylish Bar Chart with real data
A horizontal bar chart displays the closing values for ten product categories, sorted with the largest values at the top. The chart uses React to render SVG elements, with D3 v5 scales (`scaleBand`, `scaleLinear`) and formatting utilities (`format`) to position bars and axes, while CSV data is loaded asynchronously via `d3.csv`. Native SVG `<title>` elements provide tooltips, and the bottom axis labels shorten large numbers (e.g., "B" for billions).
AI-generated description