Fork of Akhil -vizhub assignment bat-scatter
✓ Published0🌍 Public
This horizontal bar chart displays product prices from a CSV file, with each bar’s length and color intensity encoding the price value. The visualization sorts products by price and uses a light-to-dark blue linear scale for color encoding. Built with React hooks and D3 v5, it employs `scaleBand` for categorical y-axis placement, `scaleLinear` for the quantitative x-axis, and `csv` for data loading. The SVG rendering includes labeled axes, tick marks, and gridlines, with all marks and channels generated imperatively within React’s `useEffect` and rendered as SVG elements.
AI-generated descriptionMIT Licensed