Skip to main content
100%

Stylish Bar Chart with real data

✓ Published1🌍 Public
GGayan Priyadarshana
Last edited Aug 2, 2023
Created on Aug 2, 2023

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
MIT Licensed

Similar vizzes