Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-6

Public visualization

Viewing a saved revision (read-only)

59bbb8e0315b4b279a62b78001544151

ICE-6

0 stars0🌍 Public
HHARSHA BUDDANA
Last edited Mar 7, 2023
Created on Mar 7, 2023
Forked from Hello VizHub

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 description

First Question of ICE 6

Create a Bar Chart based on your own csv.
Submit the VizHub link of your code.