🌍 Public
Viewing a saved revision (read-only)
59bbb8e0315b4b279a62b78001544151
ICE-6
This bar chart displays sales data for various items, with horizontal bars showing the sale amount for each item. The visualization uses React and D3 v5, loading CSV data via `d3.csv` and rendering SVG elements with `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Gridlines and axis labels are generated manually using `xScale.ticks()`, while the data values are encoded as rectangle widths.
AI-generated descriptionFirst Question of ICE 6
Create a Bar Chart based on your own csv.
Submit the VizHub link of your code.