Skip to main content
100%

Fork of Akhil -vizhub assignment bat-scatter

✓ Published0🌍 Public
Hharichandanamone21@gmail.com
Last edited Mar 21, 2024
Created on Mar 20, 2024

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

Similar vizzes